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

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

[elpa] 64/287: Replace either M-x or <execute> with M-x code.


From: Matthew Fidler
Subject: [elpa] 64/287: Replace either M-x or <execute> with M-x code.
Date: Wed, 02 Jul 2014 14:44:39 +0000

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

commit 583329654f51385ca1ace06523cce21b5fa1e472
Author: Matthew L. Fidler <address@hidden>
Date:   Mon Jun 9 13:59:45 2014 -0500

    Replace either M-x or <execute> with M-x code.
---
 ergoemacs-translate.el |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/ergoemacs-translate.el b/ergoemacs-translate.el
index 17617c1..34ba767 100644
--- a/ergoemacs-translate.el
+++ b/ergoemacs-translate.el
@@ -108,7 +108,7 @@ This assumes `ergoemacs-use-unicode-char' is non-nil.  When
 (defun ergoemacs-pretty-key (code)
   "Creates Pretty keyboard binding from kbd CODE from M- to Alt+"
   (if (not code) ""
-    (if (string-match "^M-x " code)
+    (if (string-match "^\\(M-x\\|<execute>\\) " code)
         (if ergoemacs-use-M-x-p
             code
           (replace-match ergoemacs-M-x t t code))



reply via email to

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