From 4bcc83c12461498c9b26a39895abebd8a002d629 Mon Sep 17 00:00:00 2001 From: Lars Ingebrigtsen Date: Thu, 3 Jun 2021 10:39:39 +0200 Subject: [PATCH] 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. --- lisp/progmodes/hideif.el | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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. -- 2.39.2