From e87d2788113ea3d45691040977af1c3d5c5f7e60 Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Wed, 12 Jul 2017 14:52:52 +0200 Subject: [PATCH] Remove (interactive) from non-interactive funcs --- core/autoload/test.el | 2 +- core/core-ui.el | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/core/autoload/test.el b/core/autoload/test.el index 002159f86..ff56b39d3 100644 --- a/core/autoload/test.el +++ b/core/autoload/test.el @@ -21,7 +21,7 @@ command line args following a double dash (each arg should be in the 'module/submodule' format). If neither is available, run all tests in all enabled modules." - (interactive) ;; TODO Add completing-read selection of tests + (interactive) ; must be interactive to be run from batch ;; FIXME Refactor this (condition-case-unless-debug ex (let (targets) diff --git a/core/core-ui.el b/core/core-ui.el index fca2cd95e..3f570a2e9 100644 --- a/core/core-ui.el +++ b/core/core-ui.el @@ -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")))