1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2025-01-21 18:23:59 +00:00

Fix regression with multiple mode: entries in the prop line

* lisp/files.el (hack-local-variables): Fix regression with multiple
mode: entries in the prop line.

Do not merge to master.
This commit is contained in:
Lars Ingebrigtsen 2022-04-19 18:08:20 +02:00
parent 1b77362771
commit 1030cc1897

View 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