aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard M. Stallman <[email protected]>1996-06-24 06:44:15 +0000
committerRichard M. Stallman <[email protected]>1996-06-24 06:44:15 +0000
commit668d9a3ec97bc2156e17088d623cd1c1b6b4928f (patch)
tree12ba21b89716f79abcb3bbd7dc153e408b85f5ef
parent845e9d851bed597c4650dbe8cd97b981b9e56bb1 (diff)
(set-auto-mode): Run multiple mode: specs in left-to-right order.
-rw-r--r--lisp/files.el2
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)