aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lisp/files.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/files.el b/lisp/files.el
index 6ca1b5a7c8b..44b637f9ff1 100644
--- a/lisp/files.el
+++ b/lisp/files.el
@@ -1149,7 +1149,7 @@ If `enable-local-variables' is nil, this function does not check for a
1149 ;; If we found modes to use, invoke them now, 1149 ;; If we found modes to use, invoke them now,
1150 ;; outside the save-excursion. 1150 ;; outside the save-excursion.
1151 (if modes 1151 (if modes
1152 (progn (mapcar 'funcall modes) 1152 (progn (mapcar 'funcall (nreverse modes))
1153 (setq done t))) 1153 (setq done t)))
1154 ;; If we didn't find a mode from a -*- line, try using the file name. 1154 ;; If we didn't find a mode from a -*- line, try using the file name.
1155 (if (and (not done) buffer-file-name) 1155 (if (and (not done) buffer-file-name)