summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorAlan Pearce2015-11-10 15:37:03 +0100
committerAlan Pearce2015-11-10 15:37:03 +0100
commit095a891232b8742584855dc449335f69089d8286 (patch)
tree775e0ef7de75300305f714b1176a5e841df66f1e
parentc51f934a0102cd2f684e18333a4e53eebf5bd8d7 (diff)
downloadnixfiles-095a891232b8742584855dc449335f69089d8286.tar.lz
nixfiles-095a891232b8742584855dc449335f69089d8286.tar.zst
nixfiles-095a891232b8742584855dc449335f69089d8286.zip
Emacs: Fix M-q binding
-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 9dd213db..319ca7b3 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