aboutsummaryrefslogtreecommitdiffstats
path: root/lisp
diff options
context:
space:
mode:
authorGlenn Morris <[email protected]>2007-04-23 01:23:12 +0000
committerGlenn Morris <[email protected]>2007-04-23 01:23:12 +0000
commite7d313a0ad90e3adc4b3617a6a1261aee193faa2 (patch)
treea9dc445ada5fad2eccc0cd41288db330bfcc9951 /lisp
parent42d7477b7f7cee22912bad6f44c451efa7a596dc (diff)
(magic-mode-alist): Allow for carriage-returns in sgml-mode entries.
Diffstat (limited to 'lisp')
-rw-r--r--lisp/files.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/lisp/files.el b/lisp/files.el
index 8aa06ddc87..5f600dcf16 100644
--- a/lisp/files.el
+++ b/lisp/files.el
@@ -2134,8 +2134,8 @@ associated with that interpreter in `interpreter-mode-alist'.")
;; These two must come after html, because they are more general:
("<\\?xml " . xml-mode)
(,(let* ((incomment-re "\\(?:[^-]\\|-[^-]\\)")
- (comment-re (concat "\\(?:!--" incomment-re "*-->[ \t\n]*<\\)")))
- (concat "[ \t\n]*<" comment-re "*!DOCTYPE "))
+ (comment-re (concat "\\(?:!--" incomment-re "*-->[ \t\r\n]*<\\)")))
+ (concat "[ \t\r\n]*<" comment-re "*!DOCTYPE "))
. sgml-mode)
("%!PS" . ps-mode)
("# xmcd " . conf-unix-mode))