summaryrefslogtreecommitdiff
path: root/lisp
diff options
context:
space:
mode:
Diffstat (limited to 'lisp')
-rw-r--r--lisp/ChangeLog5
-rw-r--r--lisp/files.el2
2 files changed, 6 insertions, 1 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 705642dc7f3..1aab93b40f7 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -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.
diff --git a/lisp/files.el b/lisp/files.el
index d0a89ec65b5..77e9f4ada7a 100644
--- a/lisp/files.el
+++ b/lisp/files.el
@@ -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).