]> git.eshelyaron.com Git - emacs.git/commitdiff
(read_key_sequence): Remove always-true checks.
authorChong Yidong <cyd@stupidchicken.com>
Tue, 15 Apr 2008 23:36:02 +0000 (23:36 +0000)
committerChong Yidong <cyd@stupidchicken.com>
Tue, 15 Apr 2008 23:36:02 +0000 (23:36 +0000)
src/keyboard.c

index bb65acbbde732f8e0b49e68a82c24407556adadc..64427992a8307590c416fa67b08e8ad99a5db0f4 100644 (file)
@@ -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
     {