diff options
| author | Carsten Dominik | 1998-03-09 16:01:20 +0000 |
|---|---|---|
| committer | Carsten Dominik | 1998-03-09 16:01:20 +0000 |
| commit | 576827ffbeada6e58e0104a99ccb7edef58d81e3 (patch) | |
| tree | 07aa5ae4316e2e1bfe26346c0bdd34f156382ee3 | |
| parent | a0d8840a5a9348196336e45419bb4c4ebfd4b905 (diff) | |
| download | emacs-576827ffbeada6e58e0104a99ccb7edef58d81e3.tar.gz emacs-576827ffbeada6e58e0104a99ccb7edef58d81e3.zip | |
(reftex-nicify-text): make a new " " string each time.
(reftex-what-macro): Make sure, `reftex-section-regexp' is available.
| -rw-r--r-- | lisp/textmodes/reftex.el | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/lisp/textmodes/reftex.el b/lisp/textmodes/reftex.el index ece02f514a6..02fa410a42f 100644 --- a/lisp/textmodes/reftex.el +++ b/lisp/textmodes/reftex.el | |||
| @@ -1234,7 +1234,7 @@ When nil, follow-mode will be suspended for stuff in unvisited files." | |||
| 1234 | ;;; Define the formal stuff for a minor mode named RefTeX. | 1234 | ;;; Define the formal stuff for a minor mode named RefTeX. |
| 1235 | ;;; | 1235 | ;;; |
| 1236 | 1236 | ||
| 1237 | ;; This file corresponds to RefTeX version 3.22 | 1237 | ;; This file corresponds to RefTeX version 3.21.0.3 |
| 1238 | 1238 | ||
| 1239 | (defvar reftex-mode nil | 1239 | (defvar reftex-mode nil |
| 1240 | "Determines if RefTeX minor mode is active.") | 1240 | "Determines if RefTeX minor mode is active.") |
| @@ -3450,7 +3450,7 @@ When called with 2 C-u prefix args, disable magic word recognition." | |||
| 3450 | ;; limit length | 3450 | ;; limit length |
| 3451 | (cond | 3451 | (cond |
| 3452 | ((> (length text) 100) (substring text 0 100)) | 3452 | ((> (length text) 100) (substring text 0 100)) |
| 3453 | ((= (length text) 0) " ") | 3453 | ((= (length text) 0) (make-string 1 ?\ )) |
| 3454 | (t text))) | 3454 | (t text))) |
| 3455 | 3455 | ||
| 3456 | (defun reftex-typekey-check (typekey conf-variable &optional n) | 3456 | (defun reftex-typekey-check (typekey conf-variable &optional n) |
| @@ -5039,6 +5039,7 @@ With argument, actually select the window showing the cross reference." | |||
| 5039 | ;; argument. As RefTeX cannot know this, the string "bb" would still be | 5039 | ;; argument. As RefTeX cannot know this, the string "bb" would still be |
| 5040 | ;; considered an argument of macro \macro. | 5040 | ;; considered an argument of macro \macro. |
| 5041 | 5041 | ||
| 5042 | (unless reftex-section-regexp (reftex-compute-ref-cite-tables)) | ||
| 5042 | (catch 'exit | 5043 | (catch 'exit |
| 5043 | (if (null which) (throw 'exit nil)) | 5044 | (if (null which) (throw 'exit nil)) |
| 5044 | (let ((bound (or bound (save-excursion (re-search-backward | 5045 | (let ((bound (or bound (save-excursion (re-search-backward |