[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] 63/287: Fixed mapvar issues.
From: |
Matthew Fidler |
Subject: |
[elpa] 63/287: Fixed mapvar issues. |
Date: |
Wed, 02 Jul 2014 14:44:38 +0000 |
mlf176f2 pushed a commit to branch externals/ergoemacs-mode
in repository elpa.
commit 91b83861385bbd59b0155a1e823b955e34499616
Author: Matthew L. Fidler <address@hidden>
Date: Mon Jun 9 09:38:34 2014 -0500
Fixed mapvar issues.
---
ergoemacs-advices.el | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/ergoemacs-advices.el b/ergoemacs-advices.el
index 684cdf2..eb4fbec 100644
--- a/ergoemacs-advices.el
+++ b/ergoemacs-advices.el
@@ -302,16 +302,13 @@ Actual substitute-command-keys is always in
`ergoemacs-real-substitute-command-k
(with-temp-buffer
(insert string)
(goto-char (point-min))
- (while (re-search-forward "\\<M-x " nil t)
- (replace-match (ergoemacs-substitute-command
"\\[execute-extended-command] " "\\<global-map>") t t))
- (goto-char (point-min))
(while (re-search-forward
"\\(\\(?:\\\\=\\)?\\)\\\\\\(\\[\\|<\\|{\\)\\(.*?\\)\\(\\]\\|>\\|}\\)" nil t)
(cond
((string-match-p "\\\\=" (match-string 1))
(replace-match "\\\\\\2\\3\\4" t nil))
((and (string-match-p "<" (match-string 2))
(string-match-p ">" (match-string 4)))
- (setq mapvar (match-string 3))
+ (setq mapvar (concat "\\<" (match-string 3) ">"))
(replace-match ""))
((and (string-match-p "{" (match-string 2))
(string-match-p "}" (match-string 4)))
@@ -323,6 +320,9 @@ Actual substitute-command-keys is always in
`ergoemacs-real-substitute-command-k
(while (re-search-forward "\\\\=" nil t)
(replace-match "" t t)
(re-search-forward "\\=\\\\=" nil t))
+ (goto-char (point-min))
+ (while (re-search-forward "\\(\\<M-x\\|<execute>\\) " nil t)
+ (replace-match (ergoemacs-substitute-command
"\\[execute-extended-command] " "\\<global-map>") t t))
(setq ret (buffer-string))))
ret)))
- [elpa] 50/287: Another bug-fix for substitute-command-keys, (continued)
- [elpa] 50/287: Another bug-fix for substitute-command-keys, Matthew Fidler, 2014/07/02
- [elpa] 52/287: Debugging ergoemacs-theme obect, Matthew Fidler, 2014/07/02
- [elpa] 51/287: more substitute-command-keys fixes, Matthew Fidler, 2014/07/02
- [elpa] 58/287: Fix misplaced paren, Matthew Fidler, 2014/07/02
- [elpa] 57/287: Added basic variable/mode initialization routines., Matthew Fidler, 2014/07/02
- [elpa] 54/287: Maps seem correct now, Matthew Fidler, 2014/07/02
- [elpa] 48/287: Unstage the incompatible, Matthew Fidler, 2014/07/02
- [elpa] 55/287: Nicer theme debugging display, Matthew Fidler, 2014/07/02
- [elpa] 56/287: Better key replacements., Matthew Fidler, 2014/07/02
- [elpa] 64/287: Replace either M-x or <execute> with M-x code., Matthew Fidler, 2014/07/02
- [elpa] 63/287: Fixed mapvar issues.,
Matthew Fidler <=
- [elpa] 47/287: Stage some components, Matthew Fidler, 2014/07/02
- [elpa] 62/287: Playing with object more., Matthew Fidler, 2014/07/02
- [elpa] 53/287: Better debug and modify keymaps fix bugs, Matthew Fidler, 2014/07/02
- [elpa] 59/287: Fix typo, Matthew Fidler, 2014/07/02
- [elpa] 61/287: Ergoemacs-mode setup with object almost complete., Matthew Fidler, 2014/07/02
- [elpa] 66/287: Make ergoemacs-clean toggle debug on error, Matthew Fidler, 2014/07/02
- [elpa] 71/287: Fix isearch issues., Matthew Fidler, 2014/07/02
- [elpa] 60/287: Ensure the object-name is a string. EIEIO seems to prefer this., Matthew Fidler, 2014/07/02
- [elpa] 69/287: Install shortcut-layer appropriately for keymaps., Matthew Fidler, 2014/07/02
- [elpa] 73/287: use remove-duplicates instead, Matthew Fidler, 2014/07/02