From: Luke Lee Date: Thu, 3 Jun 2021 08:04:16 +0000 (+0800) Subject: * lisp/progmodes/hideif.el: Fix initial version for new variables X-Git-Tag: emacs-28.0.90~2212 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=9a66aff5043664f1d8a74316fb6e5f702dde37df;p=emacs.git * 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. --- 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.