completion/helm: use hide-mode-line-mode

This commit is contained in:
Henrik Lissner 2018-08-04 20:51:50 +02:00
parent 860dff3e63
commit a9357bb467
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395

View file

@ -101,7 +101,7 @@ be negative.")
(defun +helm*hide-header (&rest _)
"Hide header-line & mode-line in helm windows."
(setq mode-line-format nil))
(hide-mode-line-mode +1))
(advice-add #'helm-display-mode-line :override #'+helm*hide-header)
(defun +helm*hide-minibuffer-maybe ()