all repos — archive/dotfiles @ 60966619f991659c804c8f8c82224e82dd7a8dd7

Superseded by nixfiles

Show modeline when using minibuffer
Alan Pearce alan@alanpearce.uk
Mon, 16 Jan 2017 11:59:31 +0100
commit

60966619f991659c804c8f8c82224e82dd7a8dd7

parent

ab8adeaa5ac297d2d46375c1a4cb483d45560597

1 files changed, 4 insertions(+), 1 deletions(-)

jump to
M tag-emacs/emacs.d/init.orgtag-emacs/emacs.d/init.org
@@ -174,7 +174,10 @@ (defun show-clutter ()               (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.