]> git.eshelyaron.com Git - emacs.git/commitdiff
(magic-mode-alist): Require literal "%!PS" string for
authorDavid Kastrup <dak@gnu.org>
Tue, 20 Mar 2007 18:36:15 +0000 (18:36 +0000)
committerDavid Kastrup <dak@gnu.org>
Tue, 20 Mar 2007 18:36:15 +0000 (18:36 +0000)
magic postscript file detection.

lisp/ChangeLog
lisp/files.el

index 705642dc7f3868f7f7937ab728bf52f2f18ebe56..1aab93b40f79eeaa68cd5404ac1bdff9a69105dc 100644 (file)
@@ -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.
index d0a89ec65b5f7897fcb62a0685a3cce67f09e45f..77e9f4ada7a42aad6b9d1d77c30c8cd12ff93b4a 100644 (file)
@@ -2137,7 +2137,7 @@ associated with that interpreter in `interpreter-mode-alist'.")
             (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).