emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] externals/ergoemacs-mode a9ec5df 122/325: Remove Redo menu, make


From: Stefan Monnier
Subject: [elpa] externals/ergoemacs-mode a9ec5df 122/325: Remove Redo menu, make Undo show up
Date: Sat, 23 Oct 2021 18:48:35 -0400 (EDT)

branch: externals/ergoemacs-mode
commit a9ec5df41cc8813ba8931a680aff487a52e12aad
Author: Walter Landry <wlandry@caltech.edu>
Commit: Walter Landry <wlandry@caltech.edu>

    Remove Redo menu, make Undo show up
---
 ergoemacs-themes.el | 12 +-----------
 1 file changed, 1 insertion(+), 11 deletions(-)

diff --git a/ergoemacs-themes.el b/ergoemacs-themes.el
index 72badeb..c33c261 100644
--- a/ergoemacs-themes.el
+++ b/ergoemacs-themes.el
@@ -763,7 +763,7 @@
   (global-set-key [menu-bar edit]
                   (cons "Edit"
                         '(keymap
-                          (undo menu-item "Undo" undo
+                          (undo-item menu-item "Undo" undo
                                 :enable (and
                                          (not buffer-read-only)
                                          (not
@@ -773,16 +773,6 @@
                                              (listp pending-undo-list)
                                            (consp buffer-undo-list)))
                                 :help "Undo last operation")
-                          (redo menu-item "Redo" redo
-                                :enable (and
-                                         (not buffer-read-only)
-                                         (not (eq t buffer-undo-list))
-                                         (or
-                                          (not (and (boundp 'undo-tree-mode) 
undo-tree-mode))
-                                          (and (and (boundp 'undo-tree-mode) 
undo-tree-mode)
-                                               (null (undo-tree-node-next 
(undo-tree-current buffer-undo-tree))))))
-                                :help "Redo last operation")
-                          (redo-sep menu-item "--")
                           (cut menu-item "Cut" ergoemacs-cut-line-or-region
                                :help "Delete text in Line/region and copy it 
to the clipboard"
                                :enable (region-active-p))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]