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

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

[elpa] 11/287: No longer wrap in unwind-protect


From: Matthew Fidler
Subject: [elpa] 11/287: No longer wrap in unwind-protect
Date: Wed, 02 Jul 2014 14:44:10 +0000

mlf176f2 pushed a commit to branch externals/ergoemacs-mode
in repository elpa.

commit ffaf22ccfcbd9bbbf8cd0961afb0ad03112d1461
Author: Matthew L. Fidler <address@hidden>
Date:   Fri May 23 20:53:28 2014 +0800

    No longer wrap in unwind-protect
---
 ergoemacs-advices.el |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)

diff --git a/ergoemacs-advices.el b/ergoemacs-advices.el
index b12d95a..64b0125 100644
--- a/ergoemacs-advices.el
+++ b/ergoemacs-advices.el
@@ -80,8 +80,7 @@ Also adds keymap-flag for user-defined keys run with 
`run-mode-hooks'."
               (new-key (read-kbd-macro
                         (format "<ergoemacs-user> %s"
                                 (key-description key)))))
-          (unwind-protect
-              (define-key keymap new-key def))))
+          (define-key keymap new-key def)))
     ad-do-it
     (when is-global-p
       (let ((vk key))



reply via email to

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