diff options
| author | Richard M. Stallman | 1993-12-31 03:05:39 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 1993-12-31 03:05:39 +0000 |
| commit | ef586bbd32f786783ad6642a754a2f7b39c06bd0 (patch) | |
| tree | c69f63b57a28c97cd02744f40a90fccfaf154738 /src/doc.c | |
| parent | 68e5a8a28dfbef46cb43a2b89149aa996ac91d47 (diff) | |
| download | emacs-ef586bbd32f786783ad6642a754a2f7b39c06bd0.tar.gz emacs-ef586bbd32f786783ad6642a754a2f7b39c06bd0.zip | |
(Fsubstitute_command_keys): Fix previous change.
Diffstat (limited to 'src/doc.c')
| -rw-r--r-- | src/doc.c | 9 |
1 files changed, 6 insertions, 3 deletions
| @@ -430,9 +430,12 @@ thus, \\=\\=\\=\\= puts \\=\\= into the output, and \\=\\=\\=\\[ puts \\=\\[ int | |||
| 430 | /* Disregard menu bar bindings; it is positively annoying to | 430 | /* Disregard menu bar bindings; it is positively annoying to |
| 431 | mention them when there's no menu bar, and it isn't terribly | 431 | mention them when there's no menu bar, and it isn't terribly |
| 432 | useful even when there is a menu bar. */ | 432 | useful even when there is a menu bar. */ |
| 433 | firstkey = Faref (tem, make_number (0)); | 433 | if (!NILP (tem)) |
| 434 | if (EQ (firstkey, Qmenu_bar)) | 434 | { |
| 435 | tem = Qnil; | 435 | firstkey = Faref (tem, make_number (0)); |
| 436 | if (EQ (firstkey, Qmenu_bar)) | ||
| 437 | tem = Qnil; | ||
| 438 | } | ||
| 436 | 439 | ||
| 437 | if (NILP (tem)) /* but not on any keys */ | 440 | if (NILP (tem)) /* but not on any keys */ |
| 438 | { | 441 | { |