aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorRichard M. Stallman <[email protected]>1993-03-01 09:13:26 +0000
committerRichard M. Stallman <[email protected]>1993-03-01 09:13:26 +0000
commita994e1613455c591db2350b0a94d8db62e79f3a0 (patch)
treecc84c409fbe8876619c9187c996ff6ff95bba1f3 /src
parenta7b19b15b3ade4e7d20756f06075428f45c4ef77 (diff)
Don't include dispextern.h more than once.
(INTERVAL_VISIBLE_P): NILP test was backwards.
Diffstat (limited to 'src')
-rw-r--r--src/intervals.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/intervals.h b/src/intervals.h
index 6635ed78bc..a50e46c61b 100644
--- a/src/intervals.h
+++ b/src/intervals.h
@@ -18,7 +18,9 @@ along with GNU Emacs; see the file COPYING. If not, write to
the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
#ifdef USE_TEXT_PROPERTIES
+#ifndef NORMAL_FACE
#include "dispextern.h"
+#endif
#define NULL_INTERVAL 0
#define INTERVAL_DEFAULT NULL_INTERVAL
@@ -135,7 +137,7 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
/* Is this interval visible? Replace later with cache access */
#define INTERVAL_VISIBLE_P(i) \
- (! NULL_INTERVAL_P (i) && ! NILP (Fmemq (Qinvisible, (i)->plist)))
+ (! NULL_INTERVAL_P (i) && NILP (Fmemq (Qinvisible, (i)->plist)))
/* Is this interval writable? Replace later with cache access */
#define INTERVAL_WRITABLE_P(i) \