diff options
-rw-r--r-- | lisp/files.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/files.el b/lisp/files.el index 6ca1b5a7c8..44b637f9ff 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 ;; If we found modes to use, invoke them now, ;; outside the save-excursion. (if modes - (progn (mapcar 'funcall modes) + (progn (mapcar 'funcall (nreverse modes)) (setq done t))) ;; If we didn't find a mode from a -*- line, try using the file name. (if (and (not done) buffer-file-name) |