[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] 225/287: Added disabling to redo based on undo-tree-mode
From: |
Matthew Fidler |
Subject: |
[elpa] 225/287: Added disabling to redo based on undo-tree-mode |
Date: |
Wed, 02 Jul 2014 14:46:12 +0000 |
mlf176f2 pushed a commit to branch externals/ergoemacs-mode
in repository elpa.
commit ab1665b878a7a834ef77934297ae9657148c2533
Author: Matthew L. Fidler <address@hidden>
Date: Thu Jun 26 09:15:53 2014 -0500
Added disabling to redo based on undo-tree-mode
---
ergoemacs-menus.el | 7 +++++++
1 files changed, 7 insertions(+), 0 deletions(-)
diff --git a/ergoemacs-menus.el b/ergoemacs-menus.el
index 9bd2755..220f4f8 100644
--- a/ergoemacs-menus.el
+++ b/ergoemacs-menus.el
@@ -260,6 +260,13 @@ All other modes are assumed to be minor modes or
unimportant.
:help "Undo last operation"
:keys "Ctrl+Z")
(redo menu-item "Redo" ergoemacs-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))))))
:keys "Ctrl+Y")
(redo-sep menu-item "--")
(cut menu-item "Cut" clipboard-kill-region
- [elpa] 213/287: Merge branch 'master' of github.com:ergoemacs/ergoemacs-mode, (continued)
- [elpa] 213/287: Merge branch 'master' of github.com:ergoemacs/ergoemacs-mode, Matthew Fidler, 2014/07/02
- [elpa] 215/287: Merge pull request #245 from bmalehorn/programmer-dv, Matthew Fidler, 2014/07/02
- [elpa] 214/287: fix incorrect ergoemacs-layout-programmer-dv, Matthew Fidler, 2014/07/02
- [elpa] 212/287: modified ergoemacs-cut-all so it doesn't join previous cut., Matthew Fidler, 2014/07/02
- [elpa] 216/287: Drop FIXME, Matthew Fidler, 2014/07/02
- [elpa] 223/287: Remove archive-mode and ses-mode from menus. Issue #246., Matthew Fidler, 2014/07/02
- [elpa] 217/287: Fix image generation and autohotkey generation, Matthew Fidler, 2014/07/02
- [elpa] 220/287: Partial Fix for Issue #243, Matthew Fidler, 2014/07/02
- [elpa] 222/287: Merge branch 'master' of github.com:ergoemacs/ergoemacs-mode, Matthew Fidler, 2014/07/02
- [elpa] 221/287: Be more careful with links. Issue #247, Matthew Fidler, 2014/07/02
- [elpa] 225/287: Added disabling to redo based on undo-tree-mode,
Matthew Fidler <=
- [elpa] 218/287: Merge branch 'master' of github.com:ergoemacs/ergoemacs-mode, Matthew Fidler, 2014/07/02
- [elpa] 231/287: Change layout descriptions, Matthew Fidler, 2014/07/02
- [elpa] 229/287: Fix order of operations, Matthew Fidler, 2014/07/02
- [elpa] 226/287: Remove default redo keys; Possibly Fix Issue #242, Matthew Fidler, 2014/07/02
- [elpa] 224/287: Make undo-tree the default undo method and installed when ergoemacs-mode is installed. Issue #242, Matthew Fidler, 2014/07/02
- [elpa] 228/287: Add `cua-rect` require so that tests pass, Matthew Fidler, 2014/07/02
- [elpa] 219/287: `ergoemacs-select-text-in-quote' can now deal with escaped quote in string., Matthew Fidler, 2014/07/02
- [elpa] 233/287: Change the default option back, Matthew Fidler, 2014/07/02
- [elpa] 230/287: Fix `ergoemacs-beginning-of-line-or-what` and `ergoemacs-end-of-line-or-what`, Matthew Fidler, 2014/07/02
- [elpa] 227/287: Be more careful of cua--rectangle, Matthew Fidler, 2014/07/02