# HG changeset patch # User Carsten Dominik # Date 938167501 0 # Node ID 7ed67319c5aaea011cc3bff44cd8b58f3d6cf3ef # Parent efe07431a7bafc2d40abd5ea2f11c4527870ec69 version number change diff -r efe07431a7ba -r 7ed67319c5aa lisp/textmodes/reftex-auc.el --- 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 diff -r efe07431a7ba -r 7ed67319c5aa lisp/textmodes/reftex-cite.el --- 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 diff -r efe07431a7ba -r 7ed67319c5aa lisp/textmodes/reftex-global.el --- 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 diff -r efe07431a7ba -r 7ed67319c5aa lisp/textmodes/reftex-index.el --- 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 diff -r efe07431a7ba -r 7ed67319c5aa lisp/textmodes/reftex-ref.el --- 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) diff -r efe07431a7ba -r 7ed67319c5aa lisp/textmodes/reftex-sel.el --- 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 diff -r efe07431a7ba -r 7ed67319c5aa lisp/textmodes/reftex-toc.el --- 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 diff -r efe07431a7ba -r 7ed67319c5aa lisp/textmodes/reftex.el --- 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 -;; 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