emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] master ac6ea59: * lisp/emacs-lisp/advice.el: Stop using ol


From: Philipp Stephani
Subject: [Emacs-diffs] master ac6ea59: * lisp/emacs-lisp/advice.el: Stop using old-style backquotes
Date: Sat, 9 Dec 2017 16:05:00 -0500 (EST)

branch: master
commit ac6ea598302cd33014880a7a5f43d42a7e5d1f01
Author: Philipp Stephani <address@hidden>
Commit: Philipp Stephani <address@hidden>

    * lisp/emacs-lisp/advice.el: Stop using old-style backquotes
---
 lisp/emacs-lisp/advice.el | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/lisp/emacs-lisp/advice.el b/lisp/emacs-lisp/advice.el
index 8286766..d5da30f 100644
--- 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)))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]