+2015-02-09 Christopher Genovese <genovese@cmu.edu> (tiny change)
+
+ * help-fns.el (help-fns--signature): Keep doc for keymap.
+
2015-02-09 Kelly Dean <kelly@prtime.org>
* desktop.el: Save mark-ring less verbosely.
(insert ".\n"))))
(defun help-fns--signature (function doc real-def real-function)
- (unless (keymapp function) ; If definition is a keymap, skip arglist note.
+ "Insert usage at point and return docstring. With highlighting."
+ (if (keymapp function)
+ doc ; If definition is a keymap, skip arglist note.
(let* ((advertised (gethash real-def advertised-signature-table t))
(arglist (if (listp advertised)
advertised (help-function-arglist real-def)))