]> git.eshelyaron.com Git - emacs.git/commitdiff
(describe_buffer_bindings): Declare shadow just once.
authorRichard M. Stallman <rms@gnu.org>
Wed, 11 Aug 1993 21:10:44 +0000 (21:10 +0000)
committerRichard M. Stallman <rms@gnu.org>
Wed, 11 Aug 1993 21:10:44 +0000 (21:10 +0000)
src/keymap.c

index 36f34bd25ca6c02f105b430c65369f2c0087d2b1..5738edbfd13bd96101d5e588e3e38c042fdaeda5 100644 (file)
@@ -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++)
       {