diff options
| author | Richard M. Stallman | 1993-08-11 21:10:44 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 1993-08-11 21:10:44 +0000 |
| commit | a588e041b448afbaab6b53a42e237187eabd2282 (patch) | |
| tree | cb76a661639e289da149b35b30105a5db592ac95 /src | |
| parent | cdf0b096898da72c0f52dda5c65a21b016b950b5 (diff) | |
| download | emacs-a588e041b448afbaab6b53a42e237187eabd2282.tar.gz emacs-a588e041b448afbaab6b53a42e237187eabd2282.zip | |
(describe_buffer_bindings): Declare shadow just once.
Diffstat (limited to 'src')
| -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\ | |||
| 1683 | 1683 | ||
| 1684 | descbuf = XCONS (arg)->car; | 1684 | descbuf = XCONS (arg)->car; |
| 1685 | prefix = XCONS (arg)->cdr; | 1685 | prefix = XCONS (arg)->cdr; |
| 1686 | shadow = Qnil; | ||
| 1686 | 1687 | ||
| 1687 | Fset_buffer (Vstandard_output); | 1688 | Fset_buffer (Vstandard_output); |
| 1688 | 1689 | ||
| @@ -1720,9 +1721,6 @@ nominal alternate\n\ | |||
| 1720 | { | 1721 | { |
| 1721 | int i, nmaps; | 1722 | int i, nmaps; |
| 1722 | Lisp_Object *modes, *maps; | 1723 | Lisp_Object *modes, *maps; |
| 1723 | Lisp_Object shadow; | ||
| 1724 | |||
| 1725 | shadow = Qnil; | ||
| 1726 | 1724 | ||
| 1727 | /* Temporarily switch to descbuf, so that we can get that buffer's | 1725 | /* Temporarily switch to descbuf, so that we can get that buffer's |
| 1728 | minor modes correctly. */ | 1726 | minor modes correctly. */ |
| @@ -1730,8 +1728,6 @@ nominal alternate\n\ | |||
| 1730 | nmaps = current_minor_maps (&modes, &maps); | 1728 | nmaps = current_minor_maps (&modes, &maps); |
| 1731 | Fset_buffer (Vstandard_output); | 1729 | Fset_buffer (Vstandard_output); |
| 1732 | 1730 | ||
| 1733 | shadow = Qnil; | ||
| 1734 | |||
| 1735 | /* Print the minor mode maps. */ | 1731 | /* Print the minor mode maps. */ |
| 1736 | for (i = 0; i < nmaps; i++) | 1732 | for (i = 0; i < nmaps; i++) |
| 1737 | { | 1733 | { |