summaryrefslogtreecommitdiff
path: root/src/keymap.h
diff options
context:
space:
mode:
authorLars Magne Ingebrigtsen <larsi@gnus.org>2011-07-07 19:19:10 +0200
committerLars Magne Ingebrigtsen <larsi@gnus.org>2011-07-07 19:19:10 +0200
commit9888ff71e38a45c471074bf270be90cd5280ec49 (patch)
treeaf4c0d456286c8fb2004e6489e660144b048d765 /src/keymap.h
parent54e101844312f87d5283db5fd078d0756264caa2 (diff)
(describe_map_tree): Don't insert a double newline at the end of the string
Return whether we inserted something. This should allow the caller to decide whether to insert more newlines or not. Fixes: debbugs:1169
Diffstat (limited to 'src/keymap.h')
-rw-r--r--src/keymap.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/keymap.h b/src/keymap.h
index 2b9d58b39d..2c826b64e1 100644
--- a/src/keymap.h
+++ b/src/keymap.h
@@ -36,8 +36,8 @@ EXFUN (Fcurrent_active_maps, 2);
extern Lisp_Object access_keymap (Lisp_Object, Lisp_Object, int, int, int);
extern Lisp_Object get_keymap (Lisp_Object, int, int);
EXFUN (Fset_keymap_parent, 2);
-extern void describe_map_tree (Lisp_Object, int, Lisp_Object, Lisp_Object,
- const char *, int, int, int, int);
+extern int describe_map_tree (Lisp_Object, int, Lisp_Object, Lisp_Object,
+ const char *, int, int, int, int);
extern int current_minor_maps (Lisp_Object **, Lisp_Object **);
extern void initial_define_key (Lisp_Object, int, const char *);
extern void initial_define_lispy_key (Lisp_Object, const char *, const char *);