[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] 37/117: Make C-u show ergoemacs-keys when unspecified
From: |
Matthew Fidler |
Subject: |
[elpa] 37/117: Make C-u show ergoemacs-keys when unspecified |
Date: |
Fri, 25 Jul 2014 13:24:04 +0000 |
mlf176f2 pushed a commit to branch externals/ergoemacs-mode
in repository elpa.
commit ff7c4dfc988691f31baa6358d6a32f46a926917b
Author: Matthew L. Fidler <address@hidden>
Date: Wed Jul 16 12:44:16 2014 -0500
Make C-u show ergoemacs-keys when unspecified
---
ergoemacs-advices.el | 6 ++++++
1 files changed, 6 insertions(+), 0 deletions(-)
diff --git a/ergoemacs-advices.el b/ergoemacs-advices.el
index ddabc76..7ee7269 100644
--- a/ergoemacs-advices.el
+++ b/ergoemacs-advices.el
@@ -510,6 +510,12 @@ Otherwise, return a new string, without any text
properties."
(setq pt (match-beginning 0))
(when (string= "\\=" (substring ret pt (min (+ pt 2) (length
ret))))
(setq pt (+ pt 2))))
+ (setq pt 0)
+ (while (string-match "\\<C-u\\>" ret pt)
+ (setq string
+ (ergoemacs-substitute-command "\\[universal-argument]"
"\\<global-map>"))
+ (setq ret (replace-match string t t ret))
+ (setq pt (+ (length string) (match-beginning 0))))
(when (not ergoemacs-use-M-x-p)
(setq ret (replace-regexp-in-string "\\(\\<M-x\\|<execute>\\) "
(ergoemacs-substitute-command "\\[execute-extended-command] " "\\<global-map>")
ret t t))))
- [elpa] 23/117: Fix (substitute-command-keys "\\[recover-session]"), (continued)
- [elpa] 23/117: Fix (substitute-command-keys "\\[recover-session]"), Matthew Fidler, 2014/07/25
- [elpa] 27/117: Fix recursive loading in ergoemacs-mode source, Matthew Fidler, 2014/07/25
- [elpa] 30/117: Declare w32-long-file-name, Matthew Fidler, 2014/07/25
- [elpa] 29/117: Cleanup byte compile, Matthew Fidler, 2014/07/25
- [elpa] 31/117: More emcompassing shell prompt regexp, Matthew Fidler, 2014/07/25
- [elpa] 26/117: Fix load dependence, See Issue #232, Matthew Fidler, 2014/07/25
- [elpa] 33/117: Added space as separtor for PS1 prompt, Matthew Fidler, 2014/07/25
- [elpa] 35/117: Remap shell to ergoemacs-shell-here, Matthew Fidler, 2014/07/25
- [elpa] 28/117: Add unix shell support, Matthew Fidler, 2014/07/25
- [elpa] 36/117: Add eshell here and powershell key, Matthew Fidler, 2014/07/25
- [elpa] 37/117: Make C-u show ergoemacs-keys when unspecified,
Matthew Fidler <=
- [elpa] 38/117: Make ergoemacs-track use lexical scoping, Matthew Fidler, 2014/07/25
- [elpa] 39/117: Make ergoemacs-unbind lexically scoped, Matthew Fidler, 2014/07/25
- [elpa] 34/117: Use abbreviated file name for shell here, Matthew Fidler, 2014/07/25
- [elpa] 32/117: Took out space requirement for dirtrack-list, Matthew Fidler, 2014/07/25
- [elpa] 41/117: Remove remnants of original local-set-key advice., Matthew Fidler, 2014/07/25
- [elpa] 42/117: Possibly address Issue #276, Matthew Fidler, 2014/07/25
- [elpa] 40/117: Make ergoemacs-shortcuts lexically scoped, Matthew Fidler, 2014/07/25
- [elpa] 45/117: Merge pull request #277 from pdg137/patch-1, Matthew Fidler, 2014/07/25
- [elpa] 44/117: Use M-h instead of M-H for comint-bol., Matthew Fidler, 2014/07/25
- [elpa] 48/117: Add support for dired+ prefixes, Matthew Fidler, 2014/07/25