diff options
| -rw-r--r-- | lisp/textmodes/reftex.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/textmodes/reftex.el b/lisp/textmodes/reftex.el index 18b35981f82..9754d2b20ff 100644 --- a/lisp/textmodes/reftex.el +++ b/lisp/textmodes/reftex.el | |||
| @@ -352,7 +352,7 @@ If the symbols for the current master file do not exist, they are created." | |||
| 352 | ((save-excursion | 352 | ((save-excursion |
| 353 | (goto-char (point-min)) | 353 | (goto-char (point-min)) |
| 354 | (re-search-forward | 354 | (re-search-forward |
| 355 | "^[[:space:]]*\\\\documentclass\\[\\([[:word:].]+\\)\\]{subfiles}" | 355 | "^[[:space:]]*\\\\documentclass\\[\\([^]]+\\)\\]{subfiles}" |
| 356 | nil t)) | 356 | nil t)) |
| 357 | (match-string-no-properties 1)) | 357 | (match-string-no-properties 1)) |
| 358 | ;; AUCTeX is loaded. Use its mechanism. | 358 | ;; AUCTeX is loaded. Use its mechanism. |