]> git.eshelyaron.com Git - emacs.git/commitdiff
Make the optional describe-map-tree parameters optional
authorLars Ingebrigtsen <larsi@gnus.org>
Wed, 17 Nov 2021 08:29:06 +0000 (09:29 +0100)
committerLars Ingebrigtsen <larsi@gnus.org>
Thu, 18 Nov 2021 07:11:26 +0000 (08:11 +0100)
* lisp/help.el (describe-map-tree): Make the optional parameters
optional.  This makes testing easier.

lisp/help.el

index 68b6d930c9aebc141e4be1a16b471fab88b64911..bc3d4773dad9c37a3c0b6f2702eae1430d463dd2 100644 (file)
@@ -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.