changeset 1970:64a07c3362f1

Don't include dispextern.h more than once. (INTERVAL_VISIBLE_P): NILP test was backwards.
author Richard M. Stallman <rms@gnu.org>
date Mon, 01 Mar 1993 09:13:26 +0000
parents 2c37a16ab05e
children b540866e8a79
files src/intervals.h
diffstat 1 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/intervals.h	Mon Mar 01 09:02:07 1993 +0000
+++ b/src/intervals.h	Mon Mar 01 09:13:26 1993 +0000
@@ -18,7 +18,9 @@
 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 @@
 
 /* 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) \