aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard M. Stallman1995-04-10 05:39:55 +0000
committerRichard M. Stallman1995-04-10 05:39:55 +0000
commit422d97628a22da5ef934175d29c6ae0dfb431693 (patch)
treec333012054e027a5ec04d8d180be7a0395025c1a
parent077d751f1452e24c6bc400776c6464f564e074fc (diff)
downloademacs-422d97628a22da5ef934175d29c6ae0dfb431693.tar.gz
emacs-422d97628a22da5ef934175d29c6ae0dfb431693.zip
(KBOARD, etc): Moved to keyboard.h.
-rw-r--r--src/lisp.h86
1 files changed, 0 insertions, 86 deletions
diff --git a/src/lisp.h b/src/lisp.h
index 4a38de6a61a..e28da149794 100644
--- a/src/lisp.h
+++ b/src/lisp.h
@@ -486,92 +486,6 @@ typedef struct interval *INTERVAL;
486 486
487#endif /* USE_TEXT_PROPERTIES */ 487#endif /* USE_TEXT_PROPERTIES */
488 488
489#define ECHOBUFSIZE 300
490/* When more than one keyboard is in use (via make-frame-on-display),
491 each will have a separate instance of this structure. */
492typedef struct KBOARD KBOARD;
493struct KBOARD
494 {
495 KBOARD *next_kboard;
496
497 /* The state of a prefix arg. */
498 Lisp_Object prefix_factor, prefix_value;
499 int prefix_sign, prefix_partial;
500
501 /* Unread events specific to this kboard. */
502 Lisp_Object kbd_queue;
503
504 /* Non-nil while a kbd macro is being defined. */
505 Lisp_Object defining_kbd_macro;
506
507 /* The start of storage for the current keyboard macro. */
508 Lisp_Object *kbd_macro_buffer;
509
510 /* Where to store the next keystroke of the macro. */
511 Lisp_Object *kbd_macro_ptr;
512
513 /* The finalized section of the macro starts at kbd_macro_buffer and
514 ends before this. This is not the same as kbd_macro_ptr, because
515 we advance this to kbd_macro_ptr when a key's command is complete.
516 This way, the keystrokes for "end-kbd-macro" are not included in the
517 macro. */
518 Lisp_Object *kbd_macro_end;
519
520 /* Allocated size of kbd_macro_buffer. */
521 int kbd_macro_bufsize;
522
523 /* Last anonymous kbd macro defined. */
524 Lisp_Object Vlast_kbd_macro;
525
526 /* Flag indicating that we should look at kbd_queue. This is not the
527 same as !NILP (kbd_queue), because if we've had to push back an
528 incomplete command, then this flag will be clear; we don't want to
529 try reading it again until another character arrives. */
530 int kbd_queue_has_data;
531
532 /* Placeholder for future vars that will be moved here. */
533 Lisp_Object unused[17];
534
535 /* This is normally 1, but can be larger if you have multiple screens
536 on a single X display. */
537 int reference_count;
538
539 /* Nonzero means echo each character as typed. */
540 int immediate_echo;
541
542 /* If we have echoed a prompt string specified by the user,
543 this is its length. Otherwise this is -1. */
544 int echo_after_prompt;
545
546 /* Where to append more text to echobuf if we want to. */
547 char *echoptr;
548
549 /* The text we're echoing in the modeline - partial key sequences,
550 usually. '\0'-terminated. This really shouldn't have a fixed size. */
551 char echobuf[ECHOBUFSIZE];
552 };
553
554#ifdef MULTI_KBOARD
555/* Temporarily used before a frame has been opened, and for termcap frames */
556extern KBOARD *initial_kboard;
557
558/* The kboard object associated with the command currently being read
559 or executed. */
560extern KBOARD *current_kboard;
561
562/* A list of all kboard objects, linked through next_kboard. */
563extern KBOARD *all_kboards;
564
565/* Nonzero if current_kboard has exclusive use of the keyboard.
566 Usually this means that a command is being executed. */
567extern int kboard_locked;
568#else
569extern KBOARD the_only_kboard;
570#define current_kboard (&the_only_kboard)
571#define all_kboards (&the_only_kboard)
572#define kboard_locked 1
573#endif
574
575/* In a cons, the markbit of the car is the gc mark bit */ 489/* In a cons, the markbit of the car is the gc mark bit */
576 490
577struct Lisp_Cons 491struct Lisp_Cons