diff options
author | Lars Ingebrigtsen <larsi@gnus.org> | 2019-09-21 00:45:34 +0200 |
---|---|---|
committer | Lars Ingebrigtsen <larsi@gnus.org> | 2019-09-21 00:45:41 +0200 |
commit | c56fabdfc731a8498b9ee8e9c988f85180de690f (patch) | |
tree | 6b91829507cad818393fe2541d03342e31cc4c67 /lisp/emacs-lisp | |
parent | 11432322650830fe9ae365f4113733a79226056d (diff) | |
download | emacs-c56fabdfc731a8498b9ee8e9c988f85180de690f.tar.gz emacs-c56fabdfc731a8498b9ee8e9c988f85180de690f.tar.bz2 emacs-c56fabdfc731a8498b9ee8e9c988f85180de690f.zip |
Move describe-face to the new help-fns machinery
* lisp/help-fns.el (describe-face): Move to here from faces.el and
split up (bug#36670).
(help-fns--face-custom-version-info):
(help-fns--face-attributes): Factored out into own functions.
(help-fns-describe-face-functions): New variable.
* lisp/emacs-lisp/subr-x.el (when-let): Add autoload cookie.
Diffstat (limited to 'lisp/emacs-lisp')
-rw-r--r-- | lisp/emacs-lisp/subr-x.el | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lisp/emacs-lisp/subr-x.el b/lisp/emacs-lisp/subr-x.el index bb2bf3dd5fa..3da52418fe4 100644 --- a/lisp/emacs-lisp/subr-x.el +++ b/lisp/emacs-lisp/subr-x.el @@ -182,6 +182,7 @@ with an old syntax that accepted only one binding." (setq spec (list spec))) (list 'if-let* spec then (macroexp-progn else))) +;;;###autoload (defmacro when-let (spec &rest body) "Bind variables according to SPEC and conditionally evaluate BODY. Evaluate each binding in turn, stopping if a binding value is nil. |