projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6f888d0
)
macroexp--cons doc fix
author
Lars Ingebrigtsen
<larsi@gnus.org>
Fri, 2 Aug 2019 21:03:47 +0000
(23:03 +0200)
committer
Lars Ingebrigtsen
<larsi@gnus.org>
Fri, 2 Aug 2019 21:03:47 +0000
(23:03 +0200)
* lisp/emacs-lisp/macroexp.el (macroexp--cons): Doc fix (bug#19371).
lisp/emacs-lisp/macroexp.el
patch
|
blob
|
history
diff --git
a/lisp/emacs-lisp/macroexp.el
b/lisp/emacs-lisp/macroexp.el
index 9af75320ec0d98e185401edb0e4cfe8de7abb471..a04b3951c6adad698770a58cd00fdfaa7340c326 100644
(file)
--- a/
lisp/emacs-lisp/macroexp.el
+++ b/
lisp/emacs-lisp/macroexp.el
@@
-33,7
+33,8
@@
(defvar macroexpand-all-environment nil)
(defun macroexp--cons (car cdr original-cons)
- "Return (CAR . CDR), using ORIGINAL-CONS if possible."
+ "Return ORIGINAL-CONS if the car/cdr of it is `eq' to CAR and CDR, respectively.
+If not, return (CAR . CDR)."
(if (and (eq car (car original-cons)) (eq cdr (cdr original-cons)))
original-cons
(cons car cdr)))