changeset 25806:7ed67319c5aa

version number change
author Carsten Dominik <dominik@science.uva.nl>
date Fri, 24 Sep 1999 10:05:01 +0000
parents efe07431a7ba
children b245d837503b
files lisp/textmodes/reftex-auc.el lisp/textmodes/reftex-cite.el lisp/textmodes/reftex-global.el lisp/textmodes/reftex-index.el lisp/textmodes/reftex-ref.el lisp/textmodes/reftex-sel.el lisp/textmodes/reftex-toc.el lisp/textmodes/reftex.el
diffstat 8 files changed, 15 insertions(+), 13 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/textmodes/reftex-auc.el	Fri Sep 24 10:04:08 1999 +0000
+++ b/lisp/textmodes/reftex-auc.el	Fri Sep 24 10:05:01 1999 +0000
@@ -1,5 +1,5 @@
 ;;; reftex-auc.el - RefTeX's interface to AUC TeX
-;;; Version: 4.5
+;;; Version: 4.6
 ;;;
 ;;; See main file reftex.el for licensing information
 
--- a/lisp/textmodes/reftex-cite.el	Fri Sep 24 10:04:08 1999 +0000
+++ b/lisp/textmodes/reftex-cite.el	Fri Sep 24 10:05:01 1999 +0000
@@ -1,5 +1,5 @@
 ;;; reftex-cite.el - Creating citations with RefTeX
-;;; Version: 4.5
+;;; Version: 4.6
 ;;;
 ;;; See main file reftex.el for licensing information
 
--- a/lisp/textmodes/reftex-global.el	Fri Sep 24 10:04:08 1999 +0000
+++ b/lisp/textmodes/reftex-global.el	Fri Sep 24 10:05:01 1999 +0000
@@ -1,5 +1,5 @@
 ;;; reftex-global.el - Operations on entire documents with RefTeX
-;;; Version: 4.5
+;;; Version: 4.6
 ;;;
 ;;; See main file reftex.el for licensing information
 
--- a/lisp/textmodes/reftex-index.el	Fri Sep 24 10:04:08 1999 +0000
+++ b/lisp/textmodes/reftex-index.el	Fri Sep 24 10:05:01 1999 +0000
@@ -1,5 +1,5 @@
 ;;; reftex-index.el - Index support with RefTeX
-;;; Version: 4.5
+;;; Version: 4.6
 ;;;
 ;;; See main file reftex.el for licensing information
 
--- a/lisp/textmodes/reftex-ref.el	Fri Sep 24 10:04:08 1999 +0000
+++ b/lisp/textmodes/reftex-ref.el	Fri Sep 24 10:05:01 1999 +0000
@@ -1,5 +1,5 @@
 ;;; reftex-ref.el - Code to create labels and references with RefTeX
-;;; Version: 4.5
+;;; Version: 4.6
 ;;;
 ;;; See main file reftex.el for licensing information
 
@@ -287,14 +287,16 @@
                ((equal letter "u")
                 (or (user-login-name) ""))
 	       ((equal letter "S")
-		(let* (macro level)
+		(let* (macro level-exp level)
 		  (save-excursion
 		    (save-match-data
 		      (when (re-search-backward reftex-section-regexp nil t)
 			(setq macro (reftex-match-string 2)
-			      level 
-			      (abs 
-			       (cdr (assoc macro reftex-section-levels-all)))))
+			      level-exp (cdr (assoc macro reftex-section-levels-all))
+			      level (if (symbolp level-exp)
+					(abs (save-match-data
+					       (funcall level-exp)))
+				      (abs level-exp))))
 		      (cdr (or (assoc macro reftex-section-prefixes)
 			       (assoc level reftex-section-prefixes)
 			       (assq t reftex-section-prefixes)
--- a/lisp/textmodes/reftex-sel.el	Fri Sep 24 10:04:08 1999 +0000
+++ b/lisp/textmodes/reftex-sel.el	Fri Sep 24 10:05:01 1999 +0000
@@ -1,5 +1,5 @@
 ;;; reftex-sel.el - The selection modes for RefTeX
-;;; Version: 4.5
+;;; Version: 4.6
 ;;;
 ;;; See main file reftex.el for licensing information
 
--- a/lisp/textmodes/reftex-toc.el	Fri Sep 24 10:04:08 1999 +0000
+++ b/lisp/textmodes/reftex-toc.el	Fri Sep 24 10:05:01 1999 +0000
@@ -1,5 +1,5 @@
 ;;; reftex-toc.el - RefTeX's table of contents mode
-;;; Version: 4.5
+;;; Version: 4.6
 ;;;
 ;;; See main file reftex.el for licensing information
 
--- a/lisp/textmodes/reftex.el	Fri Sep 24 10:04:08 1999 +0000
+++ b/lisp/textmodes/reftex.el	Fri Sep 24 10:05:01 1999 +0000
@@ -2,7 +2,7 @@
 ;; Copyright (c) 1997, 1998, 1999 Free Software Foundation, Inc.
 
 ;; Author:     Carsten Dominik <dominik@strw.LeidenUniv.nl>
-;; Version:    4.5
+;; Version:    4.6
 ;; Keywords:   tex
 
 ;; This file is not part of GNU Emacs.
@@ -259,7 +259,7 @@
 ;;; Define the formal stuff for a minor mode named RefTeX.
 ;;;
 
-(defconst reftex-version "RefTeX version 4.5"
+(defconst reftex-version "RefTeX version 4.6"
   "Version string for RefTeX.")
 
 (defvar reftex-mode nil