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

commit 583329654f51385ca1ace06523cce21b5fa1e472
Author: Matthew L. Fidler <[email protected]>
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