diff options
author | Pierre Neidhardt <ambrevar@gmail.com> | 2017-09-11 23:21:33 +0100 |
---|---|---|
committer | Pierre Neidhardt <ambrevar@gmail.com> | 2017-09-11 23:21:33 +0100 |
commit | eef940d7bf68af11b768884731a188f7e6c0916a (patch) | |
tree | 407c80d62a78a721929ff7adddddea9b7f8ac1a5 /emacs-helm.sh | |
parent | c3939dda5a91aae09aae5fa4ce74ae492dc4bccd (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-x | emacs-helm.sh | 2 |
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)) |