[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/ergoemacs-mode 99d8eb99e8 1/7: More no-record changes
From: |
ELPA Syncer |
Subject: |
[elpa] externals/ergoemacs-mode 99d8eb99e8 1/7: More no-record changes |
Date: |
Mon, 9 Jan 2023 14:57:43 -0500 (EST) |
branch: externals/ergoemacs-mode
commit 99d8eb99e8f697472b18aa4ddd3cb0ac977f5aca
Author: Matthew Fidler <matthew.fidler@gmail.com>
Commit: Matthew Fidler <matthew.fidler@gmail.com>
More no-record changes
---
ergoemacs-cua.el | 6 +++---
ergoemacs-functions.el | 21 +++++++++++++++------
2 files changed, 18 insertions(+), 9 deletions(-)
diff --git a/ergoemacs-cua.el b/ergoemacs-cua.el
index aea0b38254..f20d9d632c 100644
--- a/ergoemacs-cua.el
+++ b/ergoemacs-cua.el
@@ -223,9 +223,9 @@ REPEAT is the flag that tells it if is repeated
environmennt."
;; Push the key back on the event queue
(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)))))
+ (setq unread-command-events (cons key unread-command-events))
+ (setq unread-command-events (cons (cons 'no-record key)
+ unread-command-events)))))
(defun ergoemacs--prefix-override-handler ()
diff --git a/ergoemacs-functions.el b/ergoemacs-functions.el
index cec7d7e34a..3227fb9384 100644
--- a/ergoemacs-functions.el
+++ b/ergoemacs-functions.el
@@ -115,13 +115,22 @@ KEY3 is the optional third key in the sequence."
(ergoemacs-prefix-command-preserve-state)
;; Push the key back on the event queue
(when key3
- (setq unread-command-events (cons (cons 'no-record key3)
- unread-command-events)))
+ (if (version< emacs-version "26.2")
+ (setq unread-command-events (cons key3
+ unread-command-events))
+ (setq unread-command-events (cons (cons 'no-record key3)
+ unread-command-events))))
(when key2
- (setq unread-command-events (cons (cons 'no-record key2)
- unread-command-events)))
- (setq unread-command-events (cons (cons 'no-record key)
- unread-command-events)))
+ (if (version< emacs-version "26.2")
+ (setq unread-command-events (cons key2
+ unread-command-events))
+ (setq unread-command-events (cons (cons 'no-record key2)
+ unread-command-events))))
+ (if (version< emacs-version "26.2")
+ (setq unread-command-events (cons key
+ unread-command-events))
+ (setq unread-command-events (cons (cons 'no-record key)
+ unread-command-events))))
(defun ergoemacs-kill-line ()
"Ergoemacs replacement for `kill-line' using `ergoemacs--send-emacs-key'."
- [elpa] externals/ergoemacs-mode updated (34924e3b11 -> 760ca02c96), ELPA Syncer, 2023/01/09
- [elpa] externals/ergoemacs-mode 65d9779b91 2/7: More emacs 24 backward changes, ELPA Syncer, 2023/01/09
- [elpa] externals/ergoemacs-mode 0900cdc213 5/7: Revert "More emacs 24 backward changes", ELPA Syncer, 2023/01/09
- [elpa] externals/ergoemacs-mode 6cc8b68270 4/7: Revert "Don't use advice in old emacs versions", ELPA Syncer, 2023/01/09
- [elpa] externals/ergoemacs-mode 99d8eb99e8 1/7: More no-record changes,
ELPA Syncer <=
- [elpa] externals/ergoemacs-mode 8b3c3eee91 6/7: Don't use advice by default, ELPA Syncer, 2023/01/09
- [elpa] externals/ergoemacs-mode 1cc9589747 3/7: Don't use advice in old emacs versions, ELPA Syncer, 2023/01/09
- [elpa] externals/ergoemacs-mode 760ca02c96 7/7: Use advices for newer emacs, ELPA Syncer, 2023/01/09