summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp/syntax.el
diff options
context:
space:
mode:
authorPhilipp Stephani <phst@google.com>2022-09-13 17:12:57 +0200
committerLars Ingebrigtsen <larsi@gnus.org>2022-09-13 17:12:57 +0200
commitfffa53ff1afe097fe38f7664df5debe9811201d1 (patch)
treecdc34b558e9b4684b8362706a75a5a2d563f1ec8 /lisp/emacs-lisp/syntax.el
parent6d8f5161ead689b7a2e44a7de0a695f0ab4c833b (diff)
downloademacs-fffa53ff1afe097fe38f7664df5debe9811201d1.tar.gz
emacs-fffa53ff1afe097fe38f7664df5debe9811201d1.tar.bz2
emacs-fffa53ff1afe097fe38f7664df5debe9811201d1.zip
Have 'cl-case' warn about suspicious cases
* 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 'lisp/emacs-lisp/syntax.el')
0 files changed, 0 insertions, 0 deletions