emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[nongnu] elpa/devil c6db405df4 14/49: Address code review comments offer


From: ELPA Syncer
Subject: [nongnu] elpa/devil c6db405df4 14/49: Address code review comments offered on MELPA
Date: Mon, 15 May 2023 12:59:31 -0400 (EDT)

branch: elpa/devil
commit c6db405df4023427709c3963f989faac2a8c5911
Author: Susam Pal <susam@susam.net>
Commit: Susam Pal <susam@susam.net>

    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-"))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]