From: Stefan Kangas Date: Fri, 1 Nov 2024 21:54:11 +0000 (+0100) Subject: Mark unused reftex variable as obsolete X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=ba49b9bd33c79063139bb5e17ad4b64f5464243b;p=emacs.git Mark unused reftex variable as obsolete * 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) --- diff --git a/lisp/textmodes/reftex-vars.el b/lisp/textmodes/reftex-vars.el index 791b10412c9..aac735dc771 100644 --- a/lisp/textmodes/reftex-vars.el +++ b/lisp/textmodes/reftex-vars.el @@ -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)