Mercurial > emacs
annotate oldXMenu/SetFrz.c @ 73104:a90c9318cca9
(compilation-goto-locus-delete-o): New fn.
(compilation-goto-locus): Use compilation-goto-locus-delete-o
to delete the overlay. Put it on pre-command-hook.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Sun, 24 Sep 2006 20:42:08 +0000 |
parents | e8a3fb527b77 |
children | ce127a46b1ca d04d8ccb3c41 c5406394f567 |
rev | line source |
---|---|
25858 | 1 #include "copyright.h" |
2 | |
3 /* Copyright Massachusetts Institute of Technology 1985 */ | |
68640
e8a3fb527b77
Update years in copyright notice; nfc.
Thien-Thi Nguyen <ttn@gnuvola.org>
parents:
65000
diff
changeset
|
4 /* Copyright (C) 2002, 2003, 2004, 2005, |
e8a3fb527b77
Update years in copyright notice; nfc.
Thien-Thi Nguyen <ttn@gnuvola.org>
parents:
65000
diff
changeset
|
5 2006 Free Software Foundation, Inc. */ |
25858 | 6 |
7 /* | |
8 * XMenu: MIT Project Athena, X Window system menu package | |
9 * | |
10 * XMenuSetFreeze - Forcibly set the menu freeze mode switch | |
11 * overriding the Xdefaults setting. | |
12 * This is necessary in some situations. | |
13 * | |
14 * Author: Tony Della Fera, DEC | |
15 * January 29, 1986 | |
16 * | |
17 */ | |
18 | |
19 #include "XMenuInt.h" | |
20 | |
21 XMenuSetFreeze(menu, freeze) | |
22 register XMenu *menu; /* Menu object to be modified. */ | |
23 register int freeze; /* Freeze mode? */ | |
24 { | |
25 /* | |
26 * Set the freeze mode switch. | |
27 */ | |
28 menu->freeze = freeze; | |
29 } | |
52401 | 30 |
31 /* arch-tag: 69c5670b-3a46-4c78-8fdb-305936d79772 | |
32 (do not change this comment) */ |