summaryrefslogtreecommitdiff
path: root/lisp/progmodes/hideif.el
diff options
context:
space:
mode:
authorLars Ingebrigtsen <larsi@gnus.org>2021-06-03 10:39:39 +0200
committerLars Ingebrigtsen <larsi@gnus.org>2021-06-03 10:39:39 +0200
commit4bcc83c12461498c9b26a39895abebd8a002d629 (patch)
tree56f6d03b0dbdc824e1184bc2583ded355ef1dda7 /lisp/progmodes/hideif.el
parente0da5d639e4e85afcaefdbe3b2ecb26279f8eff5 (diff)
downloademacs-4bcc83c12461498c9b26a39895abebd8a002d629.tar.gz
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.
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.