emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] master 58e5f10: Don't include text properties when making


From: Eli Zaretskii
Subject: [Emacs-diffs] master 58e5f10: Don't include text properties when making autoloads
Date: Fri, 17 Aug 2018 10:08:15 -0400 (EDT)

branch: master
commit 58e5f10f884f70faea2dc577e890ccc9e8c5d0f5
Author: Allen Li <address@hidden>
Commit: Eli Zaretskii <address@hidden>

    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)
---
 lisp/emacs-lisp/autoload.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lisp/emacs-lisp/autoload.el b/lisp/emacs-lisp/autoload.el
index c458e7b..efeb056 100644
--- a/lisp/emacs-lisp/autoload.el
+++ b/lisp/emacs-lisp/autoload.el
@@ -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)))))))
 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]