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

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

[elpa] 109/117: Fix extracting of prefixes


From: Matthew Fidler
Subject: [elpa] 109/117: Fix extracting of prefixes
Date: Fri, 25 Jul 2014 13:24:39 +0000

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

commit 3d5db5192d759ca127743ca13258a21e71b8fcdc
Author: Matthew L. Fidler <address@hidden>
Date:   Thu Jul 24 10:14:15 2014 -0500

    Fix extracting of prefixes
---
 ergoemacs-shortcuts.el |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/ergoemacs-shortcuts.el b/ergoemacs-shortcuts.el
index ecb5c65..254aafd 100644
--- a/ergoemacs-shortcuts.el
+++ b/ergoemacs-shortcuts.el
@@ -1950,7 +1950,9 @@ Ignores command sequences starting with 
`ergoemacs-ignored-prefixes'."
         (unless (or (string-match-p "\\(--\\|key\\)" (match-string 1 string))
                     (member (match-string 1 string) ergoemacs-ignored-prefixes)
                     (member (match-string 1 string) ret))
-          (push (match-string 1 string) ret))
+          (when (string-match-p (format "%s [A-Za-z]" (regexp-quote 
(match-string 1 string)))
+                                (match-string 0 string))
+            (push (match-string 1 string) ret)))
         (setq pt (match-end 0)))
       ret)))
 



reply via email to

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