[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/helm bbf09feec1 1/2: Match M-x in helm-M-x
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/helm bbf09feec1 1/2: Match M-x in helm-M-x |
Date: |
Tue, 19 Sep 2023 19:00:04 -0400 (EDT) |
branch: elpa/helm
commit bbf09feec175daed2f2fbd3493a5ddfab5511c93
Author: Thierry Volpiatto <thievol@posteo.net>
Commit: Thierry Volpiatto <thievol@posteo.net>
Match M-x in helm-M-x
---
helm-command.el | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/helm-command.el b/helm-command.el
index 622c3c693a..93905253da 100644
--- a/helm-command.el
+++ b/helm-command.el
@@ -160,7 +160,7 @@ algorithm."
" " 'display
(propertize local-key 'face
'helm-M-x-key)))
'match-part disp))
- ((string-match "^M-x" key)
+ ((and (string-match "^M-x" key) (not (string= key
"M-x")))
(propertize (format "%s%s%s"
disp
(if doc (make-string (+ 1 (-
max-len (length cand))) ? ) "")