[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] 226/287: Remove default redo keys; Possibly Fix Issue #242
From: |
Matthew Fidler |
Subject: |
[elpa] 226/287: Remove default redo keys; Possibly Fix Issue #242 |
Date: |
Wed, 02 Jul 2014 14:46:12 +0000 |
mlf176f2 pushed a commit to branch externals/ergoemacs-mode
in repository elpa.
commit bc0a890c1b5e12129d9f3400a98129689bd14e57
Author: Matthew L. Fidler <address@hidden>
Date: Thu Jun 26 09:29:14 2014 -0500
Remove default redo keys; Possibly Fix Issue #242
---
ergoemacs-mode.el | 3 +--
ergoemacs-themes.el | 6 ++++++
2 files changed, 7 insertions(+), 2 deletions(-)
diff --git a/ergoemacs-mode.el b/ergoemacs-mode.el
index 109f3c3..1d50418 100644
--- a/ergoemacs-mode.el
+++ b/ergoemacs-mode.el
@@ -66,8 +66,7 @@
;; FIXME: Use cl-lib when available.
;;(require 'cl)
(require 'easymenu)
-(require 'cua-base)
-(require 'cua-rect)
+(require 'undo-tree nil t)
(defvar ergoemacs-debug ""
"Debugging for `ergoemacs-mode'.")
diff --git a/ergoemacs-themes.el b/ergoemacs-themes.el
index bc0d2e7..73c1589 100644
--- a/ergoemacs-themes.el
+++ b/ergoemacs-themes.el
@@ -107,6 +107,12 @@
(global-set-key (kbd "<M-backspace>") '(undo-tree-undo undo))
(global-set-key (kbd "C-z") 'undo)
+ ;; Take out undo-tree's redo bindings
+ (when ergoemacs-theme-hook
+ :modify-map t
+ (define-key undo-tree-map (kbd "C-?") nil)
+ (define-key undo-tree-map (kbd "M-_") nil))
+
(global-set-key (kbd "C-S-z") '(redo undo-tree-redo ergoemacs-redo))
(global-set-key (kbd "<S-delete>") 'ergoemacs-cut-line-or-region)
(global-set-key (kbd "C-c <timeout>") 'ergoemacs-copy-line-or-region)
- [elpa] 216/287: Drop FIXME, (continued)
- [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, 2014/07/02
- [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 <=
- [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
- [elpa] 232/287: Fix beginning of line function again..., Matthew Fidler, 2014/07/02
- [elpa] 238/287: Fix warnings for cua-clear-rectangle-mark., Matthew Fidler, 2014/07/02
- [elpa] 240/287: Move the fixed bracket moving to the bracket theme component., Matthew Fidler, 2014/07/02
- [elpa] 236/287: add electric-pair-made as an option, Matthew Fidler, 2014/07/02