Mercurial > emacs
changeset 76636:88155f310fdf
(magic-mode-alist): Require literal "%!PS" string for
magic postscript file detection.
author | David Kastrup <dak@gnu.org> |
---|---|
date | Tue, 20 Mar 2007 18:36:15 +0000 |
parents | 5e37a1934d22 |
children | 94c20495b575 |
files | lisp/ChangeLog lisp/files.el |
diffstat | 2 files changed, 6 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/lisp/ChangeLog Tue Mar 20 16:24:03 2007 +0000 +++ b/lisp/ChangeLog Tue Mar 20 18:36:15 2007 +0000 @@ -1,3 +1,8 @@ +2007-03-20 David Kastrup <dak@gnu.org> + + * files.el (magic-mode-alist): Require literal "%!PS" string for + magic postscript file detection. + 2007-03-20 Richard Stallman <rms@gnu.org> * textmodes/ispell.el (ispell-call-process): New function.
--- a/lisp/files.el Tue Mar 20 16:24:03 2007 +0000 +++ b/lisp/files.el Tue Mar 20 18:36:15 2007 +0000 @@ -2137,7 +2137,7 @@ (comment-re (concat "\\(?:!--" incomment-re "*-->[ \t\n]*<\\)"))) (concat "[ \t\n]*<" comment-re "*!DOCTYPE ")) . sgml-mode) - ("%![^V]" . ps-mode) + ("%!PS" . ps-mode) ("# xmcd " . conf-unix-mode)) "Alist of buffer beginnings vs. corresponding major mode functions. Each element looks like (REGEXP . FUNCTION) or (MATCH-FUNCTION . FUNCTION).