From ce2f7335f1f4ec8d276e47de79b3c9bd9797233d Mon Sep 17 00:00:00 2001 From: Lars Ingebrigtsen Date: Wed, 17 Nov 2021 09:29:06 +0100 Subject: [PATCH] Make the optional describe-map-tree parameters optional * lisp/help.el (describe-map-tree): Make the optional parameters optional. This makes testing easier. --- lisp/help.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lisp/help.el b/lisp/help.el index 68b6d930c9a..bc3d4773dad 100644 --- a/lisp/help.el +++ b/lisp/help.el @@ -1226,8 +1226,8 @@ Otherwise, return a new string." (buffer-string))))) (defvar help--keymaps-seen nil) -(defun describe-map-tree (startmap partial shadow prefix title no-menu - transl always-title mention-shadow) +(defun describe-map-tree (startmap &optional partial shadow prefix title + no-menu transl always-title mention-shadow) "Insert a description of the key bindings in STARTMAP. This is followed by the key bindings of all maps reachable through STARTMAP.