]> git.eshelyaron.com Git - emacs.git/commitdiff
Mark unused reftex variable as obsolete
authorStefan Kangas <stefankangas@gmail.com>
Fri, 1 Nov 2024 21:54:11 +0000 (22:54 +0100)
committerEshel Yaron <me@eshelyaron.com>
Sat, 2 Nov 2024 07:03:26 +0000 (08:03 +0100)
* lisp/textmodes/reftex-vars.el
(reftex-toc-split-windows-horizontally-fraction): Mark unused variable
as obsolete in favor of 'reftex-toc-split-windows-fraction'.

(cherry picked from commit 471716c67d0d00a2e90dd7dfbc2bb88820a248a2)

lisp/textmodes/reftex-vars.el

index 791b10412c99e1074c08469d706b63f70cbfd54b..aac735dc7710a32e608dab44569d8870b579be62 100644 (file)
@@ -382,9 +382,6 @@ See also `reftex-toc-split-windows-horizontally'."
   :group 'reftex-table-of-contents-browser
   :type 'number)
 
-(defvar reftex-toc-split-windows-horizontally-fraction 0.5
-  "This variable is obsolete, use `reftex-toc-split-windows-fraction' instead.")
-
 (defcustom reftex-toc-keep-other-windows t
   "Non-nil means, split the selected window to display the *toc* buffer.
 This helps to keep the window configuration, but makes the *toc* small.
@@ -2112,6 +2109,9 @@ the following construct: \\bbb [xxx] {aaa}."
   :group 'reftex-miscellaneous-configurations
   :type 'hook)
 
+(defvar reftex-toc-split-windows-horizontally-fraction 0.5)
+(make-obsolete-variable 'reftex-toc-split-windows-horizontally-fraction
+                        'reftex-toc-split-windows-fraction "31.1")
 
 (provide 'reftex-vars)