From 07024c436a731767ce80f7885ee393d6dae3aab9 Mon Sep 17 00:00:00 2001 From: Chong Yidong Date: Tue, 15 Apr 2008 23:36:02 +0000 Subject: [PATCH] (read_key_sequence): Remove always-true checks. --- src/keyboard.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/keyboard.c b/src/keyboard.c index bb65acbbde7..64427992a83 100644 --- a/src/keyboard.c +++ b/src/keyboard.c @@ -9323,8 +9323,7 @@ read_key_sequence (keybuf, bufsize, prompt, dont_downcase_last, defs = (Lisp_Object *) alloca (2 * sizeof (defs[0])); nmaps_allocated = 2; } - if (!NILP (current_kboard->Voverriding_terminal_local_map)) - submaps[nmaps++] = current_kboard->Voverriding_terminal_local_map; + submaps[nmaps++] = current_kboard->Voverriding_terminal_local_map; } else if (!NILP (Voverriding_local_map)) { @@ -9334,8 +9333,7 @@ read_key_sequence (keybuf, bufsize, prompt, dont_downcase_last, defs = (Lisp_Object *) alloca (2 * sizeof (defs[0])); nmaps_allocated = 2; } - if (!NILP (Voverriding_local_map)) - submaps[nmaps++] = Voverriding_local_map; + submaps[nmaps++] = Voverriding_local_map; } else { -- 2.39.2