From ee8b8445eb6d8ffb292a5f69e029e061ef033189 Mon Sep 17 00:00:00 2001 From: Stefan Kangas Date: Tue, 11 Feb 2025 00:46:30 +0100 Subject: [PATCH] Minor simplification in Fdescribe_buffer_bindings * src/keymap.c (Fdescribe_buffer_bindings): Minor simplification. (cherry picked from commit 2a405cb8979e08fd190e840f2a7b31efeb15a7cb) --- src/keymap.c | 6 ++---- 1 file 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\ if (alternate_heading) { insert_string (alternate_heading); - alternate_heading = 0; + alternate_heading = NULL; } bufend = push_key_description (translate[c], buf); @@ -2893,9 +2893,7 @@ You type Translation\n\ } /* Print the (major mode) local map. */ - Lisp_Object start1 = Qnil; - if (!NILP (KVAR (current_kboard, Voverriding_terminal_local_map))) - start1 = KVAR (current_kboard, Voverriding_terminal_local_map); + Lisp_Object start1 = KVAR (current_kboard, Voverriding_terminal_local_map); if (!NILP (start1)) { -- 2.39.5