diff options
| author | Stefan Kangas | 2025-02-11 00:46:30 +0100 |
|---|---|---|
| committer | Stefan Kangas | 2025-02-11 02:05:07 +0100 |
| commit | 2a405cb8979e08fd190e840f2a7b31efeb15a7cb (patch) | |
| tree | 23e320765c2cf2705d9e6c834f97928291f5d201 /src/keymap.c | |
| parent | bc1090145c702bbc94fad0e3d8ccea445e2056c4 (diff) | |
| download | emacs-2a405cb8979e08fd190e840f2a7b31efeb15a7cb.tar.gz emacs-2a405cb8979e08fd190e840f2a7b31efeb15a7cb.zip | |
Minor simplification in Fdescribe_buffer_bindings
* src/keymap.c (Fdescribe_buffer_bindings): Minor simplification.
Diffstat (limited to 'src/keymap.c')
| -rw-r--r-- | src/keymap.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/keymap.c b/src/keymap.c index 5691b34c40d..bc731c54ef0 100644 --- a/src/keymap.c +++ b/src/keymap.c | |||
| @@ -2866,7 +2866,7 @@ You type Translation\n\ | |||
| 2866 | if (alternate_heading) | 2866 | if (alternate_heading) |
| 2867 | { | 2867 | { |
| 2868 | insert_string (alternate_heading); | 2868 | insert_string (alternate_heading); |
| 2869 | alternate_heading = 0; | 2869 | alternate_heading = NULL; |
| 2870 | } | 2870 | } |
| 2871 | 2871 | ||
| 2872 | bufend = push_key_description (translate[c], buf); | 2872 | bufend = push_key_description (translate[c], buf); |
| @@ -2893,9 +2893,7 @@ You type Translation\n\ | |||
| 2893 | } | 2893 | } |
| 2894 | 2894 | ||
| 2895 | /* Print the (major mode) local map. */ | 2895 | /* Print the (major mode) local map. */ |
| 2896 | Lisp_Object start1 = Qnil; | 2896 | Lisp_Object start1 = KVAR (current_kboard, Voverriding_terminal_local_map); |
| 2897 | if (!NILP (KVAR (current_kboard, Voverriding_terminal_local_map))) | ||
| 2898 | start1 = KVAR (current_kboard, Voverriding_terminal_local_map); | ||
| 2899 | 2897 | ||
| 2900 | if (!NILP (start1)) | 2898 | if (!NILP (start1)) |
| 2901 | { | 2899 | { |