From: Richard M. Stallman Date: Wed, 11 Aug 1993 21:10:44 +0000 (+0000) Subject: (describe_buffer_bindings): Declare shadow just once. X-Git-Tag: emacs-19.34~11276 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=a588e041b448afbaab6b53a42e237187eabd2282;p=emacs.git (describe_buffer_bindings): Declare shadow just once. --- 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++) {