summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorAlan Pearce2017-01-16 11:59:31 +0100
committerAlan Pearce2017-01-16 11:59:31 +0100
commit60966619f991659c804c8f8c82224e82dd7a8dd7 (patch)
tree7c4c979d07c72e85dc63877a99acdaeadeb56a54
parentab8adeaa5ac297d2d46375c1a4cb483d45560597 (diff)
downloadnixfiles-60966619f991659c804c8f8c82224e82dd7a8dd7.tar.lz
nixfiles-60966619f991659c804c8f8c82224e82dd7a8dd7.tar.zst
nixfiles-60966619f991659c804c8f8c82224e82dd7a8dd7.zip
Show modeline when using minibuffer
-rw-r--r--tag-emacs/emacs.d/init.org5
1 files changed, 4 insertions, 1 deletions
diff --git a/tag-emacs/emacs.d/init.org b/tag-emacs/emacs.d/init.org
index e12cd6f7..3a34b84a 100644
--- a/tag-emacs/emacs.d/init.org
+++ b/tag-emacs/emacs.d/init.org
@@ -174,7 +174,10 @@ Let’s try a basic theme.
               (interactive)
               (fringe-mode '(8 . 4))
               (show-mode-line))
-            (hide-clutter)))
+            (hide-clutter)
+
+            (add-hook 'minibuffer-setup-hook #'show-mode-line)
+            (add-hook 'minibuffer-exit-hook #'hide-mode-line)))
 #+END_SRC
 
 Highlighting quasi-quoted expressions in lisps is quite useful.