Commit a588e041 authored by Richard M. Stallman's avatar Richard M. Stallman
Browse files

(describe_buffer_bindings): Declare shadow just once.

parent cdf0b096
...@@ -1683,6 +1683,7 @@ nominal alternate\n\ ...@@ -1683,6 +1683,7 @@ nominal alternate\n\
descbuf = XCONS (arg)->car; descbuf = XCONS (arg)->car;
prefix = XCONS (arg)->cdr; prefix = XCONS (arg)->cdr;
shadow = Qnil;
Fset_buffer (Vstandard_output); Fset_buffer (Vstandard_output);
...@@ -1720,9 +1721,6 @@ nominal alternate\n\ ...@@ -1720,9 +1721,6 @@ nominal alternate\n\
{ {
int i, nmaps; int i, nmaps;
Lisp_Object *modes, *maps; Lisp_Object *modes, *maps;
Lisp_Object shadow;
shadow = Qnil;
/* Temporarily switch to descbuf, so that we can get that buffer's /* Temporarily switch to descbuf, so that we can get that buffer's
minor modes correctly. */ minor modes correctly. */
...@@ -1730,8 +1728,6 @@ nominal alternate\n\ ...@@ -1730,8 +1728,6 @@ nominal alternate\n\
nmaps = current_minor_maps (&modes, &maps); nmaps = current_minor_maps (&modes, &maps);
Fset_buffer (Vstandard_output); Fset_buffer (Vstandard_output);
shadow = Qnil;
/* Print the minor mode maps. */ /* Print the minor mode maps. */
for (i = 0; i < nmaps; i++) for (i = 0; i < nmaps; i++)
{ {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment