[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/ergoemacs-mode 34924e3b11 4/4: Remove no record flag fo
From: |
ELPA Syncer |
Subject: |
[elpa] externals/ergoemacs-mode 34924e3b11 4/4: Remove no record flag for old emacs vers |
Date: |
Mon, 9 Jan 2023 13:57:51 -0500 (EST) |
branch: externals/ergoemacs-mode
commit 34924e3b11821c4a297b9b673dcb6eca9f4e18ee
Author: Matthew Fidler <matthew.fidler@gmail.com>
Commit: Matthew Fidler <matthew.fidler@gmail.com>
Remove no record flag for old emacs vers
---
ergoemacs-cua.el | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/ergoemacs-cua.el b/ergoemacs-cua.el
index a0bdf81eba..aea0b38254 100644
--- a/ergoemacs-cua.el
+++ b/ergoemacs-cua.el
@@ -222,8 +222,10 @@ REPEAT is the flag that tells it if is repeated
environmennt."
(ergoemacs-prefix-command-preserve-state)
;; Push the key back on the event queue
- (setq unread-command-events (cons (cons 'no-record key)
- unread-command-events))))
+ (if (version< emacs-version "26.2")
+ (setq unread-command-events (cons (cons 'no-record key)
+ unread-command-events))
+ (setq unread-command-events (cons key unread-command-events)))))
(defun ergoemacs--prefix-override-handler ()