summary refs log tree commit diff stats
path: root/tag-emacs
diff options
context:
space:
mode:
authorAlan Pearce2015-11-10 15:37:03 +0100
committerAlan Pearce2015-11-10 15:37:03 +0100
commit095a891232b8742584855dc449335f69089d8286 (patch)
tree775e0ef7de75300305f714b1176a5e841df66f1e /tag-emacs
parentc51f934a0102cd2f684e18333a4e53eebf5bd8d7 (diff)
downloaddotfiles-095a891232b8742584855dc449335f69089d8286.tar.lz
dotfiles-095a891232b8742584855dc449335f69089d8286.tar.zst
dotfiles-095a891232b8742584855dc449335f69089d8286.zip
Emacs: Fix M-q binding
Diffstat (limited to 'tag-emacs')
-rw-r--r--tag-emacs/emacs.d/init.org6
1 files changed, 3 insertions, 3 deletions
diff --git a/tag-emacs/emacs.d/init.org b/tag-emacs/emacs.d/init.org
index 9dd213d..319ca7b 100644
--- a/tag-emacs/emacs.d/init.org
+++ b/tag-emacs/emacs.d/init.org
@@ -2169,9 +2169,9 @@ nice, when I remember to use it.
   (req-package esh-buf-stack
     :require eshell
     :config (progn
-              (bind-key "M-q" #'eshell-push-command eshell-mode-map))
-    :init (progn
-            (setup-eshell-buf-stack)))
+              (setup-eshell-buf-stack)
+              (add-hook 'eshell-load-hook (lambda ()
+                                            (bind-key "M-q" #'eshell-push-command eshell-mode-map)))))
 #+END_SRC
 
 *** Shells