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

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

[nongnu] elpa/spell-fu df9abe16e2 02/21: Cleanup: sharp-quote function


From: ELPA Syncer
Subject: [nongnu] elpa/spell-fu df9abe16e2 02/21: Cleanup: sharp-quote function
Date: Sat, 7 Jan 2023 07:12:27 -0500 (EST)

branch: elpa/spell-fu
commit df9abe16e2b8bb7538689af3a1412aef4334be84
Author: Campbell Barton <ideasman42@gmail.com>
Commit: Campbell Barton <ideasman42@gmail.com>

    Cleanup: sharp-quote function
---
 spell-fu.el | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/spell-fu.el b/spell-fu.el
index 1d39ac5df2..7dddfb7d8e 100644
--- a/spell-fu.el
+++ b/spell-fu.el
@@ -265,7 +265,7 @@ Argument PREFIX is the text to add at the start of the 
message.
 Optional argument BODY runs with the message prefix."
   (declare (indent 1))
   `
-  (spell-fu--with-advice 'message
+  (spell-fu--with-advice #'message
     :around
     (lambda (fn-orig arg &rest args)
       (apply fn-orig (append (list (concat "%s" arg)) (list ,prefix) args)))
@@ -277,7 +277,7 @@ Argument DEPTH-OVERRIDE the depth value to call `add-hook' 
with.
 Optional argument BODY runs with the depth override."
   (declare (indent 1))
   `
-  (spell-fu--with-advice 'add-hook
+  (spell-fu--with-advice #'add-hook
     :around
     (lambda (fn-orig hook function &optional _depth local)
       (funcall fn-orig hook function ,depth-override local))



reply via email to

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