]> code.delx.au - gnu-emacs/commitdiff
Include keymap.h.
authorStefan Monnier <monnier@iro.umontreal.ca>
Mon, 8 Oct 2001 11:34:14 +0000 (11:34 +0000)
committerStefan Monnier <monnier@iro.umontreal.ca>
Mon, 8 Oct 2001 11:34:14 +0000 (11:34 +0000)
(note_mode_line_highlight): Use kEYMAPP.

mac/src/macterm.c

index 7775e28fb15ee835ae2cc0b9705ff9f1456f6f0d..d84eea705739cc08bfc3b9798a311a53fa86c262 100644 (file)
@@ -90,6 +90,7 @@ Boston, MA 02111-1307, USA.  */
 #include "intervals.h"
 #include "process.h"
 #include "atimer.h"
+#include "keymap.h"
 #include "coding.h"
 
 #ifdef HAVE_UNISTD_H
@@ -6809,13 +6810,13 @@ note_mode_line_highlight (w, x, mode_line_p)
          /* Change the mouse pointer according to what is under X/Y.  */
          map = Fget_text_property (make_number (glyph->charpos),
                                    Qlocal_map, glyph->object);
-         if (!NILP (Fkeymapp (map)))
+         if (KEYMAPP (map))
            cursor = f->output_data.mac->nontext_cursor;
          else
            {
              map = Fget_text_property (make_number (glyph->charpos),
                                        Qkeymap, glyph->object);
-             if (!NILP (Fkeymapp (map)))
+             if (KEYMAPP (map))
                cursor = f->output_data.mac->nontext_cursor;
            }
        }