]> git.eshelyaron.com Git - emacs.git/commit
Clean up ert-font-lock error messages
authorBasil L. Contovounesios <basil@contovou.net>
Thu, 20 Feb 2025 09:34:00 +0000 (10:34 +0100)
committerEshel Yaron <me@eshelyaron.com>
Sun, 9 Mar 2025 10:24:10 +0000 (11:24 +0100)
commitab5c6d0fcb93cb31be6467b1286f150658fa3f50
tree49688c870ce3dc042e40ee22916547f4d2086261
parent9beee01558e2cc34c1114ee7582b66b43a4afd71
Clean up ert-font-lock error messages

* lisp/emacs-lisp/ert-font-lock.el: Remove redundant requires.
(ert-font-lock--parse-macro-args): First return value 'doc' being
nil already indicates omission of a docstring, so remove redundant
second return value doc-p.  All users updated.  Fix error
messages (bug#76372).
(ert-font-lock--check-faces): Simplify with ensure-list.

(cherry picked from commit e62e7aa8990fd6c0b3a8742c8283efd20a2b10b7)
lisp/emacs-lisp/ert-font-lock.el