Mercurial > emacs
comparison src/dosfns.c @ 13745:0fa2712e3bbd
(syms_of_dosfns): delete the `dos-menubar-clock' and
`dos-timer-hooks' variables (the usual modeline time display now
works and `display-time-hook' can be used under DOS).
author | Karl Heuer <kwzh@gnu.org> |
---|---|
date | Tue, 19 Dec 1995 20:59:46 +0000 |
parents | 342d919f52b2 |
children | c74bb6ea72ab |
comparison
equal
deleted
inserted
replaced
13744:120c884de8a2 | 13745:0fa2712e3bbd |
---|---|
310 int dos_super_key; | 310 int dos_super_key; |
311 int dos_keypad_mode; | 311 int dos_keypad_mode; |
312 | 312 |
313 Lisp_Object Vdos_version; | 313 Lisp_Object Vdos_version; |
314 Lisp_Object Vdos_display_scancodes; | 314 Lisp_Object Vdos_display_scancodes; |
315 Lisp_Object Vdos_menubar_clock; | |
316 Lisp_Object Vdos_timer_hooks; | |
317 | 315 |
318 void | 316 void |
319 init_dosfns () | 317 init_dosfns () |
320 { | 318 { |
321 union REGS regs; | 319 union REGS regs; |
414 DEFVAR_LISP ("dos-display-scancodes", &Vdos_display_scancodes, | 412 DEFVAR_LISP ("dos-display-scancodes", &Vdos_display_scancodes, |
415 "*When non-nil, the keyboard scan-codes are displayed at the bottom right\n\ | 413 "*When non-nil, the keyboard scan-codes are displayed at the bottom right\n\ |
416 corner of the display (typically at the end of the mode line).\n\ | 414 corner of the display (typically at the end of the mode line).\n\ |
417 The output format is: scan code:char code*modifiers."); | 415 The output format is: scan code:char code*modifiers."); |
418 Vdos_display_scancodes = Qnil; | 416 Vdos_display_scancodes = Qnil; |
419 | |
420 DEFVAR_LISP ("dos-menubar-clock", &Vdos_menubar_clock, | |
421 "*When non-nil, the current time is displayed in the upper right\n\ | |
422 corner of the screen (typically at the end of the menu bar)."); | |
423 Vdos_menubar_clock = Qt; | |
424 | |
425 DEFVAR_LISP ("dos-timer-hooks", &Vdos_timer_hooks, | |
426 "List of hooks which are run every second."); | |
427 Vdos_timer_hooks = Qnil; | |
428 | 417 |
429 DEFVAR_INT ("dos-hyper-key", &dos_hyper_key, | 418 DEFVAR_INT ("dos-hyper-key", &dos_hyper_key, |
430 "*If set to 1, use right ALT key as hyper key.\n\ | 419 "*If set to 1, use right ALT key as hyper key.\n\ |
431 If set to 2, use right CTRL key as hyper key."); | 420 If set to 2, use right CTRL key as hyper key."); |
432 dos_hyper_key = 0; | 421 dos_hyper_key = 0; |