branch: externals/setup
commit 4d74aa7fc3fd2f2f1968b93369f2e3923ddad55b
Author: Philip Kaludercic <phil...@posteo.net>
Commit: Philip Kaludercic <phil...@posteo.net>

    Don't require extra quoting for :advise
---
 setup.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/setup.el b/setup.el
index e9aafbf..b0f94dc 100644
--- a/setup.el
+++ b/setup.el
@@ -385,7 +385,7 @@ form (prepend VAR), VAL is prepended to VAR."
 
 (setup-define :advise
   (lambda (symbol where function)
-    `(advice-add ,symbol ,where ,function))
+    `(advice-add ',symbol ,where ,function))
   :documentation "Add a piece of advice on a function.
 See `advice-add' for more details."
   :after-loaded t

Reply via email to