[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
master 4bcc83c: Fix up previous hideif change to avoid a compilation war
From: |
Lars Ingebrigtsen |
Subject: |
master 4bcc83c: Fix up previous hideif change to avoid a compilation warning |
Date: |
Thu, 3 Jun 2021 04:39:47 -0400 (EDT) |
branch: master
commit 4bcc83c12461498c9b26a39895abebd8a002d629
Author: Lars Ingebrigtsen <larsi@gnus.org>
Commit: Lars Ingebrigtsen <larsi@gnus.org>
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 c14d341..d127575 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.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- master 4bcc83c: Fix up previous hideif change to avoid a compilation warning,
Lars Ingebrigtsen <=