Mercurial > emacs
annotate oldXMenu/SetAEQ.c @ 63100:d3c552b53ce8
(flyspell-auto-correct-binding, flyspell-incorrect-face)
(flyspell-duplicate-face): Use (X)Emacs-agnostic code.
(flyspell-mode-map): Don't overwrite at each load. Remove code
redundant with the subsequent add-minor-mode. Merge Emacs and XEmacs code.
(flyspell-word): Minor simplification.
(flyspell-math-tex-command-p): Quieten the byte-compiler.
(flyspell-external-point-words): Remove unused vars `size' and `start'.
(flyspell-do-correct): Rename from flyspell-xemacs-correct.
Merge the corresponding Emacs code.
(flyspell-correct-word, flyspell-xemacs-popup): Use flyspell-do-correct.
author | Stefan Monnier <monnier@iro.umontreal.ca> |
---|---|
date | Mon, 06 Jun 2005 21:06:19 +0000 |
parents | e8824c4f5f7e |
children | 3861ff8f4bf1 8e5779acd195 |
rev | line source |
---|---|
25858 | 1 #include "copyright.h" |
2 | |
3 /* Copyright Massachusetts Institute of Technology 1985 */ | |
4 | |
5 /* | |
6 * XMenu: MIT Project Athena, X Window system menu package | |
7 * | |
8 * XMenuSetAEQ - Set Asynchronous event queuing mode. | |
9 * When enabled asynchronous events will be queue while | |
10 * a menu is being displayed and restored to the X | |
11 * event queue when the menu is taken down. | |
12 * | |
13 * Author: Tony Della Fera, DEC | |
14 * March 12, 1986 | |
15 * | |
16 */ | |
17 | |
18 #include "XMenuInt.h" | |
19 | |
20 XMenuSetAEQ(menu, aeq) | |
21 register XMenu *menu; /* Menu object to be modified. */ | |
22 register int aeq; /* AEQ mode? */ | |
23 { | |
24 /* | |
25 * Set the AEQ mode switch. | |
26 */ | |
27 menu->aeq = aeq; | |
28 } | |
52401 | 29 |
30 /* arch-tag: 48fc22b4-0722-4852-a044-788444e4a9dc | |
31 (do not change this comment) */ |