Mercurial > emacs
comparison src/keyboard.c @ 94104:3c7025ac9e2c
(read_key_sequence): Remove always-true checks.
author | Chong Yidong <cyd@stupidchicken.com> |
---|---|
date | Tue, 15 Apr 2008 23:36:02 +0000 |
parents | b4877813e2df |
children | 7870d07a291c |
comparison
equal
deleted
inserted
replaced
94103:92847a340dc4 | 94104:3c7025ac9e2c |
---|---|
9321 { | 9321 { |
9322 submaps = (Lisp_Object *) alloca (2 * sizeof (submaps[0])); | 9322 submaps = (Lisp_Object *) alloca (2 * sizeof (submaps[0])); |
9323 defs = (Lisp_Object *) alloca (2 * sizeof (defs[0])); | 9323 defs = (Lisp_Object *) alloca (2 * sizeof (defs[0])); |
9324 nmaps_allocated = 2; | 9324 nmaps_allocated = 2; |
9325 } | 9325 } |
9326 if (!NILP (current_kboard->Voverriding_terminal_local_map)) | 9326 submaps[nmaps++] = current_kboard->Voverriding_terminal_local_map; |
9327 submaps[nmaps++] = current_kboard->Voverriding_terminal_local_map; | |
9328 } | 9327 } |
9329 else if (!NILP (Voverriding_local_map)) | 9328 else if (!NILP (Voverriding_local_map)) |
9330 { | 9329 { |
9331 if (2 > nmaps_allocated) | 9330 if (2 > nmaps_allocated) |
9332 { | 9331 { |
9333 submaps = (Lisp_Object *) alloca (2 * sizeof (submaps[0])); | 9332 submaps = (Lisp_Object *) alloca (2 * sizeof (submaps[0])); |
9334 defs = (Lisp_Object *) alloca (2 * sizeof (defs[0])); | 9333 defs = (Lisp_Object *) alloca (2 * sizeof (defs[0])); |
9335 nmaps_allocated = 2; | 9334 nmaps_allocated = 2; |
9336 } | 9335 } |
9337 if (!NILP (Voverriding_local_map)) | 9336 submaps[nmaps++] = Voverriding_local_map; |
9338 submaps[nmaps++] = Voverriding_local_map; | |
9339 } | 9337 } |
9340 else | 9338 else |
9341 { | 9339 { |
9342 int nminor; | 9340 int nminor; |
9343 int total; | 9341 int total; |