Commit dddb4597 authored by Werner LEMBERG's avatar Werner LEMBERG
Browse files

* files.el (set-auto-mode-1): Check second line for -*- if file

starts with '\" (which is used by man pages to identify needed
troff preprocessors).
parent 5fd98b21
2007-11-16 Werner Lemberg <wl@gnu.org>
* files.el (set-auto-mode-1): Check second line for -*- if file
starts with '\" (which is used by man pages to identify needed
troff preprocessors).
2007-11-16 Glenn Morris <rgm@gnu.org> 2007-11-16 Glenn Morris <rgm@gnu.org>
* mail/mail-extr.el (mail-extr-all-top-level-domains): Update domains. * mail/mail-extr.el (mail-extr-all-top-level-domains): Update domains.
......
...@@ -2428,7 +2428,11 @@ Otherwise, return nil; point may be changed." ...@@ -2428,7 +2428,11 @@ Otherwise, return nil; point may be changed."
;; put them in the first line of ;; put them in the first line of
;; such a file without screwing up ;; such a file without screwing up
;; the interpreter invocation. ;; the interpreter invocation.
(and (looking-at "^#!") 2)) t) ;; The same holds for
;; '\"
;; in man pages (preprocessor
;; magic for the `man' program).
(and (looking-at "^\\(#!\\|'\\\\\"\\)") 2)) t)
(progn (progn
(skip-chars-forward " \t") (skip-chars-forward " \t")
(setq beg (point)) (setq beg (point))
......
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