branch: elpa/devil
commit c6db405df4023427709c3963f989faac2a8c5911
Author: Susam Pal <[email protected]>
Commit: Susam Pal <[email protected]>
Address code review comments offered on MELPA
This change addresses the code review comments offered by Chris Rayner
at <https://github.com/melpa/melpa/pull/8532>.
---
devil.el | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/devil.el b/devil.el
index 4b338cb930..288a0416ac 100644
--- a/devil.el
+++ b/devil.el
@@ -364,7 +364,7 @@ the original Emacs key sequence."
(defun devil--log (format-string &rest args)
"Write log message with the given FORMAT-STRING and ARGS."
(when devil-logging
- (apply 'message (concat "Devil: " format-string) args)))
+ (apply #'message (concat "Devil: " format-string) args)))
(defmacro devil--assert (form)
"Evaluate FORM and cause error if the result is nil."
@@ -373,7 +373,6 @@ the original Emacs key sequence."
(defun devil--tests ()
"Test Devil functions assuming Devil has not been customized."
- (interactive)
(devil--assert (string= (devil-translate (vconcat ",")) "C-"))
(devil--assert (string= (devil-translate (vconcat ",x")) "C-x"))
(devil--assert (string= (devil-translate (vconcat ",x,")) "C-x C-"))