[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/ergoemacs-mode 5625b4fa8f 2/4: More emacs 24 backward c
From: |
ELPA Syncer |
Subject: |
[elpa] externals/ergoemacs-mode 5625b4fa8f 2/4: More emacs 24 backward compatibility fixes |
Date: |
Mon, 9 Jan 2023 13:57:51 -0500 (EST) |
branch: externals/ergoemacs-mode
commit 5625b4fa8fa913722874bb46686a6a0426d445d9
Author: Matthew Fidler <matthew.fidler@gmail.com>
Commit: Matthew Fidler <matthew.fidler@gmail.com>
More emacs 24 backward compatibility fixes
---
ergoemacs-themes.el | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/ergoemacs-themes.el b/ergoemacs-themes.el
index efd6897cf5..3e68852089 100644
--- a/ergoemacs-themes.el
+++ b/ergoemacs-themes.el
@@ -1408,7 +1408,11 @@ In a terminal, this can be either arrow keys (e.g.
meta+O A == <up>) or regular
(ergoemacs-define-key log-edit-mode-map (kbd "<home>")
'log-edit-beginning-of-line)
(ergoemacs-define-key log-edit-mode-map (kbd "M-h")
'log-edit-beginning-of-line))))
-(with-eval-after-load 'log-edit (ergoemacs-install-log-edit-bindings))
+(if (fboundp 'with-eval-after-load)
+ (with-eval-after-load 'log-edit (ergoemacs-install-log-edit-bindings))
+ (require 'log-edit)
+ (ergoemacs-install-log-edit-bindings))
+
(defvar eshell-mode-map)
(defun ergoemacs-install-eshell-bindings ()