summaryrefslogtreecommitdiff
path: root/lisp/files.el
diff options
context:
space:
mode:
authorDavid Kastrup <dak@gnu.org>2007-03-20 18:36:15 +0000
committerDavid Kastrup <dak@gnu.org>2007-03-20 18:36:15 +0000
commit12333e2ba53c9585b5d4344358ce6723ad15bf6b (patch)
tree80beb69c022dcd619ea6cb5a3cd6eb3608dc8c43 /lisp/files.el
parent5d5afbcdea4bd86dc1c8083c23b02b8d6298b9cb (diff)
downloademacs-12333e2ba53c9585b5d4344358ce6723ad15bf6b.tar.gz
(magic-mode-alist): Require literal "%!PS" string for
magic postscript file detection.
Diffstat (limited to 'lisp/files.el')
-rw-r--r--lisp/files.el2
1 files changed, 1 insertions, 1 deletions
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).