projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7124598
)
* lisp/emacs-lisp/subr-x.el (if-let): Swap &or branches (Bug#48489)
author
Philipp Stephani
<phst@google.com>
Tue, 18 May 2021 07:25:54 +0000
(09:25 +0200)
committer
Philipp Stephani
<phst@google.com>
Tue, 18 May 2021 07:26:49 +0000
(09:26 +0200)
lisp/emacs-lisp/subr-x.el
patch
|
blob
|
history
diff --git
a/lisp/emacs-lisp/subr-x.el
b/lisp/emacs-lisp/subr-x.el
index 5a8885c04270c7e2eded1f9e6e1bc06cee9d84b7..fb890509ad7a13d95d50b62e046377703de9a616 100644
(file)
--- a/
lisp/emacs-lisp/subr-x.el
+++ b/
lisp/emacs-lisp/subr-x.el
@@
-174,8
+174,8
@@
As a special case, interprets a SPEC of the form \(SYMBOL SOMETHING)
like \((SYMBOL SOMETHING)). This exists for backward compatibility
with an old syntax that accepted only one binding."
(declare (indent 2)
- (debug ([&or (
&rest [&or symbolp (symbolp form) (form)])
- (
symbolp form
)]
+ (debug ([&or (
symbolp form) ; must be first, Bug#48489
+ (
&rest [&or symbolp (symbolp form) (form)]
)]
form body)))
(when (and (<= (length spec) 2)
(not (listp (car spec))))