[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] Changes to emacs/lisp/files.el
From: |
Eli Zaretskii |
Subject: |
[Emacs-diffs] Changes to emacs/lisp/files.el |
Date: |
Fri, 16 Dec 2005 15:41:21 +0000 |
Index: emacs/lisp/files.el
diff -u emacs/lisp/files.el:1.797 emacs/lisp/files.el:1.798
--- emacs/lisp/files.el:1.797 Fri Dec 9 16:44:16 2005
+++ emacs/lisp/files.el Fri Dec 16 15:41:21 2005
@@ -2098,7 +2098,8 @@
(setq done t)
(or (set-auto-mode-0 mode keep-mode-if-same)
;; continuing would call minor modes again, toggling them off
- (throw 'nop nil)))))
+ (throw 'nop nil))))))
+ (unless done
;; If we didn't, look for an interpreter specified in the first line.
;; As a special case, allow for things like "#!/bin/env perl", which
;; finds the interpreter anywhere in $PATH.