]> git.eshelyaron.com Git - emacs.git/commitdiff
* lisp/emacs-lisp/advice.el: Stop using old-style backquotes
authorPhilipp Stephani <phst@google.com>
Sat, 9 Dec 2017 21:03:31 +0000 (22:03 +0100)
committerPhilipp Stephani <phst@google.com>
Sat, 9 Dec 2017 21:03:31 +0000 (22:03 +0100)
lisp/emacs-lisp/advice.el

index 8286766775637ee6da50a2a7e34d4f96a5121a23..d5da30fb18c0a578d55746a07616ed891bca3f5c 100644 (file)
 ;; `ad-return-value' in a piece of after advice. For example:
 ;;
 ;; (defmacro foom (x)
-;;   (` (list (, x))))
+;;   `(list ,x))
 ;; foom
 ;;
 ;; (foom '(a))
 ;; (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)))