summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArtur Malabarba <bruce.connor.am@gmail.com>2015-11-16 09:49:00 +0000
committerArtur Malabarba <bruce.connor.am@gmail.com>2015-11-16 09:49:00 +0000
commit63acb2e8688db09f24b3a4a2dcb37eb597e12ef8 (patch)
treea3808ce0e03de009952200622261d4693f1f709f
parentdbc090aeabe2cf80b1ab213b101c58d362a88d12 (diff)
downloademacs-63acb2e8688db09f24b3a4a2dcb37eb597e12ef8.tar.gz
* lisp/emacs-lisp/nadvice.el (add-function): Escape quote
-rw-r--r--lisp/emacs-lisp/nadvice.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/emacs-lisp/nadvice.el b/lisp/emacs-lisp/nadvice.el
index 2cd34e12810..1882eb194f6 100644
--- a/lisp/emacs-lisp/nadvice.el
+++ b/lisp/emacs-lisp/nadvice.el
@@ -279,7 +279,7 @@ a special meaning:
whereas a depth of -100 means that the advice should be outermost.
If PLACE is a symbol, its `default-value' will be affected.
-Use (local 'SYMBOL) if you want to apply FUNCTION to SYMBOL buffer-locally.
+Use (local \\='SYMBOL) if you want to apply FUNCTION to SYMBOL buffer-locally.
Use (var VAR) if you want to apply FUNCTION to the (lexical) VAR.
If one of FUNCTION or OLDFUN is interactive, then the resulting function