From: Lars Ingebrigtsen Date: Thu, 3 Jun 2021 08:39:39 +0000 (+0200) Subject: Fix up previous hideif change to avoid a compilation warning X-Git-Tag: emacs-28.0.90~2210 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=4bcc83c12461498c9b26a39895abebd8a002d629;p=emacs.git Fix up previous hideif change to avoid a compilation warning * lisp/progmodes/hideif.el (hide-ifdef-expand-reinclusion-protection): Move to avoid a compilation warning. --- diff --git a/lisp/progmodes/hideif.el b/lisp/progmodes/hideif.el index c14d3418a7b..d127575255a 100644 --- a/lisp/progmodes/hideif.el +++ b/lisp/progmodes/hideif.el @@ -149,6 +149,9 @@ :type '(choice (const nil) string) :version "25.1") +(define-obsolete-variable-alias 'hide-ifdef-expand-reinclusion-protection + 'hide-ifdef-expand-reinclusion-guard "28.1") + (defcustom hide-ifdef-expand-reinclusion-guard t "Non-nil means don't hide an entire header file enclosed by #ifndef...#endif. Most C/C++ headers are usually wrapped with ifdefs to prevent re-inclusion: @@ -171,9 +174,6 @@ 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.