Mercurial > emacs
annotate oldXMenu/SetAEQ.c @ 106885:908cefda5ea2
* progmodes/ada-mode.el: Fix bug#1920, bug#5400.
(ada-ident-re): Delete ., allow multibyte characters.
(ada-goto-label-re): New; matches goto labels.
(ada-block-label-re): New; matches block labels.
(ada-label-re): New; matches both.
(ada-named-block-re): Deleted; callers changed to use
`ada-block-label-re' instead.
(ada-get-current-indent, ada-get-indent-noindent, ada-get-indent-loop):
Use `ada-block-label-re'.
(ada-indent-on-previous-lines): Improve handling of goto labels.
(ada-get-indent-block-start): Special-case block label.
(ada-get-indent-label): Split into `ada-indent-block-label' and
`ada-indent-goto-label'.
(ada-goto-stmt-start, ada-goto-next-non-ws): Optionally ignore goto labels.
(ada-goto-next-word): Simplify.
(ada-indent-newline-indent-conditional): Insert newline before
trying to fix indentation; doc fix.
author | Juanma Barranquero <lekktu@gmail.com> |
---|---|
date | Sun, 17 Jan 2010 20:15:32 +0100 |
parents | fec5e03aaf59 |
children | edf631bdbb7a ec58e5c426ef 5cc91198ffb2 |
rev | line source |
---|---|
76174
fec5e03aaf59
Remove FSF copyright since file does not differ significantly from X11
Glenn Morris <rgm@gnu.org>
parents:
75348
diff
changeset
|
1 /* Copyright Massachusetts Institute of Technology 1985 */ |
fec5e03aaf59
Remove FSF copyright since file does not differ significantly from X11
Glenn Morris <rgm@gnu.org>
parents:
75348
diff
changeset
|
2 |
25858 | 3 #include "copyright.h" |
4 | |
5 | |
6 /* | |
7 * XMenu: MIT Project Athena, X Window system menu package | |
8 * | |
9 * XMenuSetAEQ - Set Asynchronous event queuing mode. | |
10 * When enabled asynchronous events will be queue while | |
11 * a menu is being displayed and restored to the X | |
12 * event queue when the menu is taken down. | |
13 * | |
14 * Author: Tony Della Fera, DEC | |
15 * March 12, 1986 | |
16 * | |
17 */ | |
18 | |
19 #include "XMenuInt.h" | |
20 | |
21 XMenuSetAEQ(menu, aeq) | |
22 register XMenu *menu; /* Menu object to be modified. */ | |
23 register int aeq; /* AEQ mode? */ | |
24 { | |
25 /* | |
26 * Set the AEQ mode switch. | |
27 */ | |
28 menu->aeq = aeq; | |
29 } | |
52401 | 30 |
31 /* arch-tag: 48fc22b4-0722-4852-a044-788444e4a9dc | |
32 (do not change this comment) */ |