summaryrefslogtreecommitdiff
path: root/test/lisp/emacs-lisp/hierarchy-tests.el
diff options
context:
space:
mode:
authorPhilipp Stephani <phst@google.com>2022-09-13 17:11:53 +0200
committerLars Ingebrigtsen <larsi@gnus.org>2022-09-13 17:11:53 +0200
commit6d8f5161ead689b7a2e44a7de0a695f0ab4c833b (patch)
tree006981ac2baf4bf7cc934fd3538a8629c1e8e8e3 /test/lisp/emacs-lisp/hierarchy-tests.el
parent07ee1be052a45d8e6f671d0851f11c545dd9511a (diff)
downloademacs-6d8f5161ead689b7a2e44a7de0a695f0ab4c833b.tar.gz
emacs-6d8f5161ead689b7a2e44a7de0a695f0ab4c833b.tar.bz2
emacs-6d8f5161ead689b7a2e44a7de0a695f0ab4c833b.zip
Signal an error if a fallback cl-case is misplaced
* lisp/emacs-lisp/cl-macs.el (cl-case): Warn if the user passes a nil key list (which would never match). Warn about quoted symbols that should probably be unquoted. * test/lisp/emacs-lisp/cl-macs-tests.el (cl-case-warning): New unit test (bug#51368).
Diffstat (limited to 'test/lisp/emacs-lisp/hierarchy-tests.el')
0 files changed, 0 insertions, 0 deletions