summaryrefslogtreecommitdiff
path: root/emacs-helm.sh
diff options
context:
space:
mode:
authorPierre Neidhardt <ambrevar@gmail.com>2017-09-11 23:21:33 +0100
committerPierre Neidhardt <ambrevar@gmail.com>2017-09-11 23:21:33 +0100
commiteef940d7bf68af11b768884731a188f7e6c0916a (patch)
tree407c80d62a78a721929ff7adddddea9b7f8ac1a5 /emacs-helm.sh
parentc3939dda5a91aae09aae5fa4ce74ae492dc4bccd (diff)
emacs-helm.sh: Remap execute-extended-command instead of binding M-x
Just to be consistent.
Diffstat (limited to 'emacs-helm.sh')
-rwxr-xr-xemacs-helm.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/emacs-helm.sh b/emacs-helm.sh
index f34ec235..1575cd9b 100755
--- a/emacs-helm.sh
+++ b/emacs-helm.sh
@@ -101,7 +101,7 @@ cat > $CONF_FILE <<EOF
(define-key global-map [remap occur] 'helm-occur)
(define-key global-map [remap list-buffers] 'helm-buffers-list)
(define-key global-map [remap dabbrev-expand] 'helm-dabbrev)
-(global-set-key (kbd "M-x") 'helm-M-x)
+(define-key global-map [remap execute-extended-command] 'helm-M-x)
(unless (boundp 'completion-in-region-function)
(define-key lisp-interaction-mode-map [remap completion-at-point] 'helm-lisp-completion-at-point)
(define-key emacs-lisp-mode-map [remap completion-at-point] 'helm-lisp-completion-at-point))