Emacs: Fix called-interactively-p warnings
Alan Pearce alan@alanpearce.uk
Tue, 07 Feb 2017 15:40:32 +0100
1 files changed, 2 insertions(+), 2 deletions(-)
jump to
M tag-emacs/emacs.d/init.org → tag-emacs/emacs.d/init.org
@@ -151,13 +151,13 @@ (defun show-mode-line () (interactive) (setq mode-line-format mode-line-default-format) - (when (called-interactively-p) + (when (called-interactively-p 'interactive) (setq-default mode-line-format mode-line-default-format) (setq mode-line-default-hidden nil))) (defun hide-mode-line () (interactive) (setq mode-line-format nil) - (when (called-interactively-p) + (when (called-interactively-p 'interactive) (setq-default mode-line-format nil) (setq mode-line-default-hidden t)))