From a588e041b448afbaab6b53a42e237187eabd2282 Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Wed, 11 Aug 1993 21:10:44 +0000 Subject: [PATCH] (describe_buffer_bindings): Declare shadow just once. --- src/keymap.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/src/keymap.c b/src/keymap.c index 36f34bd25ca..5738edbfd13 100644 --- a/src/keymap.c +++ b/src/keymap.c @@ -1683,6 +1683,7 @@ nominal alternate\n\ descbuf = XCONS (arg)->car; prefix = XCONS (arg)->cdr; + shadow = Qnil; Fset_buffer (Vstandard_output); @@ -1720,9 +1721,6 @@ nominal alternate\n\ { int i, nmaps; Lisp_Object *modes, *maps; - Lisp_Object shadow; - - shadow = Qnil; /* Temporarily switch to descbuf, so that we can get that buffer's minor modes correctly. */ @@ -1730,8 +1728,6 @@ nominal alternate\n\ nmaps = current_minor_maps (&modes, &maps); Fset_buffer (Vstandard_output); - shadow = Qnil; - /* Print the minor mode maps. */ for (i = 0; i < nmaps; i++) { -- 2.39.5