diff options
| author | Richard M. Stallman | 2001-11-01 19:35:05 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 2001-11-01 19:35:05 +0000 |
| commit | bca8616b096f226e987b5b72b781870a117de99b (patch) | |
| tree | fae682960c3629d2fe5d370888e9e2014ea3eab9 | |
| parent | e554eeb7eee3748d2e51f8526a1ea42e59298b28 (diff) | |
| download | emacs-bca8616b096f226e987b5b72b781870a117de99b.tar.gz emacs-bca8616b096f226e987b5b72b781870a117de99b.zip | |
(sgml-xml-guess): Fix regexp to avoid ambiguous nested loops.
| -rw-r--r-- | lisp/textmodes/sgml-mode.el | 2 |
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)) |