summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/keymap.c6
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++)
{