]> git.eshelyaron.com Git - emacs.git/commitdiff
Fix regression with multiple mode: entries in the prop line
authorLars Ingebrigtsen <larsi@gnus.org>
Tue, 19 Apr 2022 16:08:20 +0000 (18:08 +0200)
committerLars Ingebrigtsen <larsi@gnus.org>
Tue, 19 Apr 2022 16:08:20 +0000 (18:08 +0200)
* lisp/files.el (hack-local-variables): Fix regression with multiple
mode: entries in the prop line.

Do not merge to master.

lisp/files.el

index 30e8da4da37c3d5bff60c153303c1d9877b06cf8..b187c0b3a0a56a2a131df29f07928513f8e79fea 100644 (file)
@@ -3888,7 +3888,7 @@ inhibited."
        ;; Note this is a no-op if enable-local-variables is nil.
        (hack-dir-local-variables))
       (let ((result (append (hack-local-variables--find-variables handle-mode)
-                            (hack-local-variables-prop-line))))
+                            (hack-local-variables-prop-line handle-mode))))
         (if (and enable-local-variables
                  (not (inhibit-local-variables-p)))
             (progn