(if (<= (length str) 0)
(user-error "Abort!")
(list (intern str)))))
+ (when (stringp type) (setq type (intern type)))
(help-setup-xref (list #'cl-describe-type type)
(called-interactively-p 'interactive))
(save-excursion
;; Return the text we displayed.
(buffer-string)))))
+(put 'cl-describe-type 'minibuffer-action "describe")
+
(defun cl--class-children (class)
(let ((children '()))
(mapatoms
"Return `help-char' in a format suitable for the `keymap-set' KEY argument."
(key-description (char-to-string help-char)))
+(declare-function cl-describe-type "cl-extra")
+
(defvar-keymap help-map
:doc "Keymap for characters following the Help key."
"." #'display-local-help
"r" #'info-emacs-manual
"R" #'info-display-manual
"s" #'describe-syntax
- "t" #'help-with-tutorial
+ "t" #'cl-describe-type
+ "T" #'help-with-tutorial
"v" #'describe-variable
"w" #'where-is
"x" #'describe-command