Remove (interactive) from non-interactive funcs

This commit is contained in:
Henrik Lissner 2017-07-12 14:52:52 +02:00
parent 9c7e431de7
commit e87d278811
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395
2 changed files with 1 additions and 2 deletions

View file

@ -108,7 +108,6 @@ like a space that `whitespace-mode' won't affect.")
(defun doom-quit-p (&optional prompt)
"Return t if this session should be killed. Prompts the user for
confirmation."
(interactive)
(if (ignore-errors (doom-real-buffer-list))
(or (yes-or-no-p (format " %s" (or prompt "Quit Emacs?")))
(ignore (message "Aborted")))