projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8b81972
)
* lisp/emacs-lisp/advice.el: Stop using old-style backquotes
author
Philipp Stephani
<phst@google.com>
Sat, 9 Dec 2017 21:03:31 +0000
(22:03 +0100)
committer
Philipp Stephani
<phst@google.com>
Sat, 9 Dec 2017 21:03:31 +0000
(22:03 +0100)
lisp/emacs-lisp/advice.el
patch
|
blob
|
history
diff --git
a/lisp/emacs-lisp/advice.el
b/lisp/emacs-lisp/advice.el
index 8286766775637ee6da50a2a7e34d4f96a5121a23..d5da30fb18c0a578d55746a07616ed891bca3f5c 100644
(file)
--- a/
lisp/emacs-lisp/advice.el
+++ b/
lisp/emacs-lisp/advice.el
@@
-1514,7
+1514,7
@@
;; `ad-return-value' in a piece of after advice. For example:
;;
;; (defmacro foom (x)
-;;
(` (list (, x))
))
+;;
`(list ,x
))
;; foom
;;
;; (foom '(a))
@@
-1547,8
+1547,8
@@
;; (defadvice foom (after fg-print-x act)
;; "Print the value of X."
;; (setq ad-return-value
-;;
(` (progn (print (, x)
)
-;;
(, ad-return-value))
)))
+;;
`(progn (print ,x
)
+;;
,ad-return-value
)))
;; foom
;;
;; (macroexpand '(foom '(a)))