diff options
| author | Richard M. Stallman | 1994-09-14 23:24:45 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 1994-09-14 23:24:45 +0000 |
| commit | 62010a73d81a04e4c2526b30aeba0d852ddd9f3b (patch) | |
| tree | 33c4ac7519ae6f9c4d6596651063a047e5b814e5 /src | |
| parent | 62f91105e48e4375bc36282be271421d1a232f32 (diff) | |
| download | emacs-62010a73d81a04e4c2526b30aeba0d852ddd9f3b.tar.gz emacs-62010a73d81a04e4c2526b30aeba0d852ddd9f3b.zip | |
Include puresize.h.
(menu_item_equiv_key): Use CHECK_IMPURE.
Diffstat (limited to 'src')
| -rw-r--r-- | src/xmenu.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/xmenu.c b/src/xmenu.c index 1adf12fbcc0..3cb4ae8dc2b 100644 --- a/src/xmenu.c +++ b/src/xmenu.c | |||
| @@ -40,6 +40,7 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */ | |||
| 40 | #include "window.h" | 40 | #include "window.h" |
| 41 | #include "keyboard.h" | 41 | #include "keyboard.h" |
| 42 | #include "blockinput.h" | 42 | #include "blockinput.h" |
| 43 | #include "puresize.h" | ||
| 43 | 44 | ||
| 44 | /* This may include sys/types.h, and that somehow loses | 45 | /* This may include sys/types.h, and that somehow loses |
| 45 | if this is not done before the other system files. */ | 46 | if this is not done before the other system files. */ |
| @@ -360,7 +361,10 @@ menu_item_equiv_key (item_string, item1, descrip_ptr) | |||
| 360 | 361 | ||
| 361 | /* Cache the data we just got in a sublist of the menu binding. */ | 362 | /* Cache the data we just got in a sublist of the menu binding. */ |
| 362 | if (NILP (cachelist)) | 363 | if (NILP (cachelist)) |
| 363 | XCONS (item1)->cdr = Fcons (Fcons (savedkey, descrip), def); | 364 | { |
| 365 | CHECK_IMPURE (item1); | ||
| 366 | XCONS (item1)->cdr = Fcons (Fcons (savedkey, descrip), def); | ||
| 367 | } | ||
| 364 | else if (changed) | 368 | else if (changed) |
| 365 | { | 369 | { |
| 366 | XCONS (cachelist)->car = savedkey; | 370 | XCONS (cachelist)->car = savedkey; |