From 9a66aff5043664f1d8a74316fb6e5f702dde37df Mon Sep 17 00:00:00 2001 From: Luke Lee Date: Thu, 3 Jun 2021 16:04:16 +0800 Subject: [PATCH] * lisp/progmodes/hideif.el: Fix initial version for new variables (hide-ifdef-verbose, hide-ifdef-evalulate-enter-hook) (hide-ifdef-evalulate-leave-hook): Fix initial version to 28.1. (hide-ifdef-expand-reinclusion-protection): Obsolete since 28.1, rename to `hide-ifdef-expand-reinclusion-guard' instead. --- lisp/progmodes/hideif.el | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/lisp/progmodes/hideif.el b/lisp/progmodes/hideif.el index 956a7d9cbe5..c14d3418a7b 100644 --- a/lisp/progmodes/hideif.el +++ b/lisp/progmodes/hideif.el @@ -171,6 +171,9 @@ outermost #if is always visible." :type 'boolean :version "25.1") +(define-obsolete-variable-alias 'hide-ifdef-expand-reinclusion-protection + 'hide-ifdef-expand-reinclusion-guard "28.1") + (defcustom hide-ifdef-header-regexp "\\.h\\(h\\|xx\\|pp\\|\\+\\+\\)?\\'" "C/C++ header file name patterns to determine if current buffer is a header. @@ -211,17 +214,17 @@ Effective only if `hide-ifdef-expand-reinclusion-guard' is t." (defcustom hide-ifdef-verbose nil "Show some defining symbols on hiding for a visible feedback." :type 'boolean - :version "27.2") + :version "28.1") (defcustom hide-ifdef-evalulate-enter-hook nil "Hook function to be called when entering `hif-evaluate-macro'." :type 'hook - :version "27.2") + :version "28.1") (defcustom hide-ifdef-evalulate-leave-hook nil "Hook function to be called when leaving `hif-evaluate-macro'." :type 'hook - :version "27.2") + :version "28.1") (defvar hide-ifdef-mode-map ;; Set up the mode's main map, which leads via the prefix key to the submap. -- 2.39.2