From ba49b9bd33c79063139bb5e17ad4b64f5464243b Mon Sep 17 00:00:00 2001 From: Stefan Kangas Date: Fri, 1 Nov 2024 22:54:11 +0100 Subject: [PATCH] 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) --- lisp/textmodes/reftex-vars.el | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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) -- 2.39.5