aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard M. Stallman2001-11-01 19:35:05 +0000
committerRichard M. Stallman2001-11-01 19:35:05 +0000
commitbca8616b096f226e987b5b72b781870a117de99b (patch)
treefae682960c3629d2fe5d370888e9e2014ea3eab9
parente554eeb7eee3748d2e51f8526a1ea42e59298b28 (diff)
downloademacs-bca8616b096f226e987b5b72b781870a117de99b.tar.gz
emacs-bca8616b096f226e987b5b72b781870a117de99b.zip
(sgml-xml-guess): Fix regexp to avoid ambiguous nested loops.
-rw-r--r--lisp/textmodes/sgml-mode.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/textmodes/sgml-mode.el b/lisp/textmodes/sgml-mode.el
index 27ddfe6e481..6472cc79960 100644
--- a/lisp/textmodes/sgml-mode.el
+++ b/lisp/textmodes/sgml-mode.el
@@ -339,7 +339,7 @@ Otherwise, it is set to be buffer-local when the file has
339 (eval-when-compile 339 (eval-when-compile
340 (mapconcat 'identity 340 (mapconcat 'identity
341 '("<!DOCTYPE" "\\(\\w+\\)" "\\(\\w+\\)" 341 '("<!DOCTYPE" "\\(\\w+\\)" "\\(\\w+\\)"
342 "\"\\([^\"]+\\)+\"" "\"\\([^\"]+\\)+\"") 342 "\"\\([^\"]+\\)\"" "\"\\([^\"]+\\)\"")
343 "\\s-+")) 343 "\\s-+"))
344 nil t) 344 nil t)
345 (let ((name (match-string 1)) 345 (let ((name (match-string 1))