From 12333e2ba53c9585b5d4344358ce6723ad15bf6b Mon Sep 17 00:00:00 2001 From: David Kastrup Date: Tue, 20 Mar 2007 18:36:15 +0000 Subject: [PATCH] (magic-mode-alist): Require literal "%!PS" string for magic postscript file detection. --- lisp/ChangeLog | 5 +++++ lisp/files.el | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) 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 + + * files.el (magic-mode-alist): Require literal "%!PS" string for + magic postscript file detection. + 2007-03-20 Richard Stallman * 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). -- 2.11.4.GIT