summaryrefslogtreecommitdiff
path: root/lisp/progmodes/hideif.el
diff options
context:
space:
mode:
Diffstat (limited to 'lisp/progmodes/hideif.el')
-rw-r--r--lisp/progmodes/hideif.el6
1 files 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.