diff options
| author | Richard M. Stallman <rms@gnu.org> | 1993-08-11 21:10:44 +0000 |
|---|---|---|
| committer | Richard M. Stallman <rms@gnu.org> | 1993-08-11 21:10:44 +0000 |
| commit | a588e041b448afbaab6b53a42e237187eabd2282 (patch) | |
| tree | cb76a661639e289da149b35b30105a5db592ac95 /src/keymap.c | |
| parent | cdf0b096898da72c0f52dda5c65a21b016b950b5 (diff) | |
| download | emacs-a588e041b448afbaab6b53a42e237187eabd2282.tar.gz | |
(describe_buffer_bindings): Declare shadow just once.
Diffstat (limited to 'src/keymap.c')
| -rw-r--r-- | src/keymap.c | 6 |
1 files changed, 1 insertions, 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++) { |
