1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-15 10:30:25 -08:00

Merge remote-tracking branch 'origin/emacs-30'

This commit is contained in:
Stefan Monnier 2025-02-10 16:03:02 -05:00
commit 4936a8d5ac
3 changed files with 24 additions and 2 deletions

View file

@ -2309,7 +2309,7 @@ the same names as used in the original source code, when possible."
(dolist (arg arglist)
(unless (and (symbolp arg)
(let ((name (symbol-name arg)))
(if (eq (aref name 0) ?&)
(if (and (> (length name) 0) (eq (aref name 0) ?&))
(memq arg '(&rest &optional))
(not (string-search "." name)))))
(setq valid nil)))