summaryrefslogtreecommitdiff
path: root/src/doc.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/doc.c')
-rw-r--r--src/doc.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/doc.c b/src/doc.c
index c21935577f2..02a5b4b8143 100644
--- a/src/doc.c
+++ b/src/doc.c
@@ -848,10 +848,9 @@ Otherwise, return a new string, without any text properties. */)
struct buffer *oldbuf;
ptrdiff_t start_idx;
/* This is for computing the SHADOWS arg for describe_map_tree. */
- Lisp_Object active_maps;
+ Lisp_Object active_maps = Fcurrent_active_maps (Qnil, Qnil);
Lisp_Object earlier_maps;
- active_maps = Fcurrent_active_maps (Qnil, Qnil);
changed = 1;
strp += 2; /* skip \{ or \< */
start = strp;