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

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

[elpa] master 72d4c76 35/90: Replace "C-x 6" with "<f2>" in counsel-M-x


From: Oleh Krehel
Subject: [elpa] master 72d4c76 35/90: Replace "C-x 6" with "<f2>" in counsel-M-x
Date: Tue, 30 Jun 2015 07:28:18 +0000

branch: master
commit 72d4c76f6bfaa23a7b0e5b02fe4c2f87d6963aaa
Author: Oleh Krehel <address@hidden>
Commit: Oleh Krehel <address@hidden>

    Replace "C-x 6" with "<f2>" in counsel-M-x
    
    counsel.el (counsel--format-function-M-x): Update.
---
 counsel.el |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/counsel.el b/counsel.el
index e7ee160..5717b21 100644
--- a/counsel.el
+++ b/counsel.el
@@ -493,6 +493,7 @@ If a command is bound, add it's binding after it."
   (with-selected-window (ivy-state-window ivy-last)
     (mapconcat (lambda (x)
                  (let ((binding (substitute-command-keys (format "\\[%s]" x))))
+                   (setq binding (replace-regexp-in-string "C-x 6" "<f2>" 
binding))
                    (if (string-match "^M-x" binding)
                        x
                      (format "%s (%s)" x



reply via email to

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