summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp/trace.el
diff options
context:
space:
mode:
authorMichael Heerdegen <michael_heerdegen@web.de>2018-02-21 11:15:37 +0100
committerMichael Heerdegen <michael_heerdegen@web.de>2018-03-06 15:47:05 +0100
commitaf4697faa1f5b643f63a9ea61aa205a4c1432e23 (patch)
tree3b0e3e687d9bbcce246fc938fbd80bb398061ed9 /lisp/emacs-lisp/trace.el
parentec79bdc53fd75ea48c1451b0d83b0b41a0345bc6 (diff)
downloademacs-af4697faa1f5b643f63a9ea61aa205a4c1432e23.tar.gz
emacs-af4697faa1f5b643f63a9ea61aa205a4c1432e23.tar.bz2
emacs-af4697faa1f5b643f63a9ea61aa205a4c1432e23.zip
Define if-let* and derivatives as aliases for if-let etc
This commit reverts declaring `if-let' and `when-let' obsolete in favor of the new `if-let*' and `when-let*' versions because of the compiler warning mess (Bug#30039). Instead we make foo-let* aliases for foo-let. The old single-tuple variable spec case is still supported for backward compatibility. * lisp/emacs-lisp/subr-x.el (if-let, when-let): Don't declare obsolete. Tweak edebug specs. (and-let): Renamed from `and-let*' for compatibility with the names `if-let' and `when-let'. (if-let*, when-let*, and-let*): Define as aliases for `if-let', `when-let' and `and-let'. * test/lisp/emacs-lisp/subr-x-tests.el (if-let-single-tuple-case-test) (when-let-single-tuple-case-test): New tests for the single-binding tuple case. In the whole file, prefer the names without "*".
Diffstat (limited to 'lisp/emacs-lisp/trace.el')
0 files changed, 0 insertions, 0 deletions