From: Lars Ingebrigtsen Date: Wed, 17 Nov 2021 08:29:06 +0000 (+0100) Subject: Make the optional describe-map-tree parameters optional X-Git-Tag: emacs-29.0.90~2852^2~222 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=ce2f7335f1f4ec8d276e47de79b3c9bd9797233d;p=emacs.git Make the optional describe-map-tree parameters optional * lisp/help.el (describe-map-tree): Make the optional parameters optional. This makes testing easier. --- 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.