Don't include text properties when making autoloads

* lisp/emacs-lisp/autoload.el (autoload-generate-file-autoloads):
Ignore text properties when finding autoload defs.  Otherwise,
autoload generation is less deterministic, as the exact format of the
generated autoloads depends on whether the files are visited in
Emacs.  (Bug#32395)
This commit is contained in:
Allen Li 2018-08-08 00:03:36 -07:00 committed by Eli Zaretskii
parent 64eb9b71da
commit 58e5f10f88

View file

@ -768,7 +768,7 @@ FILE's modification time."
"define-erc-module"
"define-erc-response-handler"
"defun-rcirc-command"))))
(push (match-string 2) defs))
(push (match-string-no-properties 2) defs))
(forward-sexp 1)
(forward-line 1)))))))