]> git.eshelyaron.com Git - emacs.git/commitdiff
Update to RefTeX 4.15, see ChangeLog for details
authorCarsten Dominik <dominik@science.uva.nl>
Sun, 10 Dec 2000 11:00:45 +0000 (11:00 +0000)
committerCarsten Dominik <dominik@science.uva.nl>
Sun, 10 Dec 2000 11:00:45 +0000 (11:00 +0000)
lisp/textmodes/reftex-auc.el
lisp/textmodes/reftex-cite.el
lisp/textmodes/reftex-dcr.el
lisp/textmodes/reftex-global.el
lisp/textmodes/reftex-index.el
lisp/textmodes/reftex-parse.el
lisp/textmodes/reftex-ref.el
lisp/textmodes/reftex-sel.el
lisp/textmodes/reftex-toc.el
lisp/textmodes/reftex-vars.el
lisp/textmodes/reftex.el

index 2699d482a756f5544caeca8e90cd5417ed5a3224..1fe6da1dca58f7dafe2d1d9ef437392ffbdf95dc 100644 (file)
@@ -2,7 +2,7 @@
 ;; Copyright (c) 1997, 1998, 1999, 2000 Free Software Foundation, Inc.
 
 ;; Author:     Carsten Dominik <dominik@strw.LeidenUniv.nl>
-;; Version: 4.14
+;; Version: 4.15
 ;;
 
 ;; This file is part of GNU Emacs.
index f6bba642c1e73b7a58621d97e4e142ef9aeee827..f9ffc01562638452869d86768135a5403740449f 100644 (file)
@@ -2,7 +2,7 @@
 ;; Copyright (c) 1997, 1998, 1999, 2000 Free Software Foundation, Inc.
 
 ;; Author:     Carsten Dominik <dominik@strw.LeidenUniv.nl>
-;; Version: 4.14
+;; Version: 4.15
 ;;
 
 ;; This file is part of GNU Emacs.
index 10dd5343c511d7616a6f7e5d4ce72cb17bb32f8e..e4a63028a8fb872319f5360bf646629f7f160c94 100644 (file)
@@ -2,7 +2,7 @@
 ;; Copyright (c) 1997, 1998, 1999, 2000 Free Software Foundation, Inc.
 
 ;; Author:     Carsten Dominik <dominik@strw.LeidenUniv.nl>
-;; Version: 4.14
+;; Version: 4.15
 ;;
 
 ;; This file is part of GNU Emacs.
index 8cd2d4da3e210fac8cb11b07a5ed71290ebd546f..2c1d9538f1b1bde6371371cecaa86d8ddc1299f1 100644 (file)
@@ -2,7 +2,7 @@
 ;; Copyright (c) 1997, 1998, 1999, 2000 Free Software Foundation, Inc.
 
 ;; Author:     Carsten Dominik <dominik@strw.LeidenUniv.nl>
-;; Version: 4.14
+;; Version: 4.15
 ;;
 
 ;; This file is part of GNU Emacs.
@@ -36,7 +36,7 @@ The TAGS file is also immediately visited with `visit-tags-table'."
          (files  (reftex-all-document-files))
          (cmd    (format "etags %s" (mapconcat 'identity files " "))))
     (save-excursion
-      (set-buffer (reftex-get-buffer-visiting master))
+      (set-buffer (reftex-get-file-buffer-force master))
       (message "Running etags to create TAGS file...")
       (shell-command cmd)
       (visit-tags-table "TAGS"))))
index 900e6000eb4eb5ec2470fce14cc128d6227f8e3e..00427cfd97c94781b1a3a4eb1eb12d28ada6c905 100644 (file)
@@ -2,7 +2,7 @@
 ;; Copyright (c) 1997, 1998, 1999, 2000 Free Software Foundation, Inc.
 
 ;; Author:     Carsten Dominik <dominik@strw.LeidenUniv.nl>
-;; Version: 4.14
+;; Version: 4.15
 ;;
 
 ;; This file is part of GNU Emacs.
index 59e078aad3bc6d7fd9b94ac4f80c2ebe848dc7fc..2740f1f0cf7b5a0b15ce9996036d83c5bbac4a6b 100644 (file)
@@ -2,7 +2,7 @@
 ;; Copyright (c) 1997, 1998, 1999, 2000 Free Software Foundation, Inc.
 
 ;; Author:     Carsten Dominik <dominik@strw.LeidenUniv.nl>
-;; Version: 4.14
+;; Version: 4.15
 ;;
 
 ;; This file is part of GNU Emacs.
index 44609914ec391993cc52d7622aa7c6b18893ed80..683fbe63c2d3ba9a22d6e832808563ea9235d4c9 100644 (file)
@@ -2,7 +2,7 @@
 ;; Copyright (c) 1997, 1998, 1999, 2000 Free Software Foundation, Inc.
 
 ;; Author:     Carsten Dominik <dominik@strw.LeidenUniv.nl>
-;; Version: 4.14
+;; Version: 4.15
 ;;
 
 ;; This file is part of GNU Emacs.
index 044c384fc2657d22316ba74db26180595d525d3b..d76dfa555665daeb84f09143617620ee41d8029f 100644 (file)
@@ -2,7 +2,7 @@
 ;; Copyright (c) 1997, 1998, 1999, 2000 Free Software Foundation, Inc.
 
 ;; Author:     Carsten Dominik <dominik@strw.LeidenUniv.nl>
-;; Version: 4.14
+;; Version: 4.15
 ;;
 
 ;; This file is part of GNU Emacs.
@@ -113,7 +113,7 @@ During a selection process, these are the local bindings.
   ;; BUF is the buffer which has the correct docstruct-symbol.
   ;; LABELS non-nil means to include labels into the list.
   ;;        When a string, indicates the label type to include
-  ;; FILES non-nil menas to display file boundaries.
+  ;; FILES non-nil means to display file boundaries.
   ;; CONTEXT non-nil means to include label context.
   ;; COUNTER means to count the labels.
   ;; SHOW-COMMENTED means to include also labels which are commented out.
index 9ee9788e5ba8c0f87273245647042ee08abd26b8..83a26fb0f748ed68e8a3251fe0ff265994725e77 100644 (file)
@@ -2,7 +2,7 @@
 ;; Copyright (c) 1997, 1998, 1999, 2000 Free Software Foundation, Inc.
 
 ;; Author:     Carsten Dominik <dominik@strw.LeidenUniv.nl>
-;; Version: 4.14
+;; Version: 4.15
 ;;
 
 ;; This file is part of GNU Emacs.
@@ -598,7 +598,7 @@ With prefix arg 1, restrict index to the section at point."
    ["External Document TOC  " reftex-toc-external t]
    "--"
    ("Update"
-    ["Rebuild *toc* Buffer" revert-buffer t]
+    ["Rebuilt *toc* Buffer" revert-buffer t]
     ["Rescan One File" reftex-toc-rescan reftex-enable-partial-scans]
     ["Rescan Entire Document" reftex-toc-Rescan t])
    ("Options"
index f651d0b8de0988dcbc99b15250dda5271c133078..9794c013619b80b611db7e97dee3ab45253529ca 100644 (file)
@@ -2,7 +2,7 @@
 ;; Copyright (c) 1997, 1998, 1999, 2000 Free Software Foundation, Inc.
 
 ;; Author:     Carsten Dominik <dominik@strw.LeidenUniv.nl>
-;; Version: 4.14
+;; Version: 4.15
 ;;
 
 ;; This file is part of GNU Emacs.
index 9468235a9dfd5b3cead8b5a9b42ac44e1669d024..9c3b90118f1b2db14651d60e26a4b879a4c7fc5d 100644 (file)
@@ -2,7 +2,7 @@
 ;; Copyright (c) 1997, 1998, 1999, 2000 Free Software Foundation, Inc.
 
 ;; Author:     Carsten Dominik <dominik@strw.LeidenUniv.nl>
-;; Version:    4.14
+;; Version:    4.15
 ;; Keywords:   tex
 
 ;; This file is part of GNU Emacs.
 ;;; Define the formal stuff for a minor mode named RefTeX.
 ;;;
 
-(defconst reftex-version "RefTeX version 4.14"
+(defconst reftex-version "RefTeX version 4.15"
   "Version string for RefTeX.")
 
 (defvar reftex-mode nil
@@ -506,6 +506,7 @@ on the menu bar.
          (condition-case nil 
              (TeX-master-file t)
            (error (buffer-file-name))))
+        ((fboundp 'tex-main-file) (tex-main-file)) ; Emacs LaTeX mode
          ((boundp 'TeX-master)       ; The variable is defined - lets use it.
           (cond
            ((eq TeX-master t)
@@ -1209,6 +1210,14 @@ This enforces rescanning the buffer on next use."
     ;; Scan whatever was required by the caller.
     (reftex-do-parse rescan file))))
 
+(defun reftex-scanning-info-available-p ()
+  "Is the scanning info about the current document available?"
+  (unless reftex-docstruct-symbol
+    (reftex-tie-multifile-symbols))
+  (and (symbolp reftex-docstruct-symbol)
+       (symbol-value reftex-docstruct-symbol)
+       t))
+  
 (defun reftex-silence-toc-markers (list n)
   ;; Set all toc markers in the first N entries in list to nil
   (while (and list (> (decf n) -1))