changeset 21124:2089d9bfb3d7

(reftex-nicify-text): make a new " " string each time. (reftex-what-macro): Make sure, `reftex-section-regexp' is available.
author Carsten Dominik <dominik@science.uva.nl>
date Mon, 09 Mar 1998 16:01:20 +0000
parents e1c817a29b2d
children d66c9c7b4927
files lisp/textmodes/reftex.el
diffstat 1 files changed, 3 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/textmodes/reftex.el	Mon Mar 09 06:37:20 1998 +0000
+++ b/lisp/textmodes/reftex.el	Mon Mar 09 16:01:20 1998 +0000
@@ -1234,7 +1234,7 @@
 ;;; Define the formal stuff for a minor mode named RefTeX.
 ;;;
 
-;; This file corresponds to RefTeX version 3.22
+;; This file corresponds to RefTeX version 3.21.0.3
 
 (defvar reftex-mode nil
   "Determines if RefTeX minor mode is active.")
@@ -3450,7 +3450,7 @@
   ;; limit length
   (cond
    ((> (length text) 100) (substring text 0 100))
-   ((= (length text) 0) " ")
+   ((= (length text) 0) (make-string 1 ?\ ))
    (t text)))
 
 (defun reftex-typekey-check (typekey conf-variable &optional n)
@@ -5039,6 +5039,7 @@
   ;; argument.  As RefTeX cannot know this, the string "bb" would still be
   ;; considered an argument of macro \macro.
 
+  (unless reftex-section-regexp (reftex-compute-ref-cite-tables))
   (catch 'exit
     (if (null which) (throw 'exit nil))
     (let ((bound (or bound (save-excursion (re-search-backward