]> git.eshelyaron.com Git - emacs.git/commit
Be more lax when picking up prefixes for loaddefs
authorStefan Kangas <stefan@marxist.se>
Thu, 4 Aug 2022 20:58:59 +0000 (22:58 +0200)
committerStefan Kangas <stefan@marxist.se>
Thu, 4 Aug 2022 21:21:03 +0000 (23:21 +0200)
commitd73a104dd349fdf8de5ababa9ae53ea807b00bfb
tree8bc17466e8bae2b1219cfc62b7e2fa1e6d7e8251
parent0b5dccc8b2f36d6d012cf792113de4a3b7b15334
Be more lax when picking up prefixes for loaddefs

* lisp/emacs-lisp/loaddefs-gen.el
(loaddefs-generate--compute-prefixes): Allow tabs and spaces before
symbol name, so that "(defvar\tfoo-bar nil)" is properly picked up.
Before this change, such a definition would be wrongly picked up as
the symbol "nil".
lisp/emacs-lisp/loaddefs-gen.el