branch: elpa/spell-fu commit df9abe16e2b8bb7538689af3a1412aef4334be84 Author: Campbell Barton <ideasma...@gmail.com> Commit: Campbell Barton <ideasma...@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))