Commit 8a9cdb8d authored by John Paul Wallington's avatar John Paul Wallington
Browse files

(set-auto-mode): Call `throw' correctly.

parent 02c9f5cd
2004-10-28 John Paul Wallington <jpw@gnu.org>
* files.el (set-auto-mode): Call `throw' correctly.
2004-10-28 Juri Linkov <juri@jurta.org>
* info.el (Info-file-list-for-emacs): Add ("Info" . "info")
......
......@@ -1896,7 +1896,7 @@ only set the major mode, if that would change it."
(message "Ignoring unknown mode `%s'" mode)
(setq done t)
(or (set-auto-mode-0 mode)
(throw 'nop)))))
(throw 'nop nil)))))
;; 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.
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment