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

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

[nongnu] elpa/helm b28378b719: Fix issue #2514 where helm-command-prefix


From: ELPA Syncer
Subject: [nongnu] elpa/helm b28378b719: Fix issue #2514 where helm-command-prefix-key is hardcoded
Date: Thu, 26 May 2022 01:58:29 -0400 (EDT)

branch: elpa/helm
commit b28378b719ed8aee0c7118481a78309960a2e906
Author: Thierry Volpiatto <thievol@posteo.net>
Commit: Thierry Volpiatto <thievol@posteo.net>

    Fix issue #2514 where helm-command-prefix-key is hardcoded
    
    Use the same fix as what have been done on Emacs-29.
---
 helm-global-bindings.el | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/helm-global-bindings.el b/helm-global-bindings.el
index 3be6b4930d..ec617aed0a 100644
--- a/helm-global-bindings.el
+++ b/helm-global-bindings.el
@@ -21,7 +21,10 @@
 ;;; Command Keymap
 ;;
 ;;
-(defcustom helm-command-prefix-key "C-x c"
+(defcustom helm-command-prefix-key
+  (when-let ((binding
+              (car (where-is-internal 'Control-X-prefix (list global-map)))))
+    (concat binding [?c]))
   "The key `helm-command-prefix' is bound to in the global map."
   :type '(choice (string :tag "Key") (const :tag "no binding"))
   :group 'helm-config



reply via email to

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