summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp/subr-x.el
diff options
context:
space:
mode:
authorAndrea Corallo <akrl@sdf.org>2020-09-30 09:09:39 +0200
committerAndrea Corallo <akrl@sdf.org>2020-09-30 09:09:39 +0200
commit6eb5a8c49295a132d341c04fad6998b293930eb6 (patch)
tree71d37047035c0ff17ba709cf68e7287e22c79c10 /lisp/emacs-lisp/subr-x.el
parent89f064104c25f8b4362ef54d28fd4bce18f6af3b (diff)
parent6c0f1c26d296132e37b2508a00efc73f3df95b0c (diff)
downloademacs-6eb5a8c49295a132d341c04fad6998b293930eb6.tar.gz
emacs-6eb5a8c49295a132d341c04fad6998b293930eb6.tar.bz2
emacs-6eb5a8c49295a132d341c04fad6998b293930eb6.zip
Merge remote-tracking branch 'savannah/master' into clean-up
Diffstat (limited to 'lisp/emacs-lisp/subr-x.el')
-rw-r--r--lisp/emacs-lisp/subr-x.el1
1 files changed, 1 insertions, 0 deletions
diff --git a/lisp/emacs-lisp/subr-x.el b/lisp/emacs-lisp/subr-x.el
index 9f96ac50d1c..e6abb39ddc6 100644
--- a/lisp/emacs-lisp/subr-x.el
+++ b/lisp/emacs-lisp/subr-x.el
@@ -156,6 +156,7 @@ are non-nil, then the result is non-nil."
,@(or body `(,res))))
`(let* () ,@(or body '(t))))))
+;;;###autoload
(defmacro if-let (spec then &rest else)
"Bind variables according to SPEC and evaluate THEN or ELSE.
Evaluate each binding in turn, as in `let*', stopping if a