aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrea Corallo2023-05-19 10:46:41 +0200
committerAndrea Corallo2023-05-20 11:32:54 +0200
commit6fe4176e22c1842d6a8e44b30e3d1a79d153b36e (patch)
tree5290287cc50c6b69402b44ce42ecda516636b7db
parent19810a5a741c2a7ca340168d39103fbe24f43f3b (diff)
downloademacs-scratch/comp-all-types.tar.gz
emacs-scratch/comp-all-types.zip
* lisp/help-fns.el (help-fns--signature): Add function type to C-h f.scratch/comp-all-types
-rw-r--r--lisp/help-fns.el5
1 files changed, 4 insertions, 1 deletions
diff --git a/lisp/help-fns.el b/lisp/help-fns.el
index 1966193d1a7..962a5038453 100644
--- a/lisp/help-fns.el
+++ b/lisp/help-fns.el
@@ -710,7 +710,10 @@ the C sources, too."
710 (high-doc (cdr high))) 710 (high-doc (cdr high)))
711 (unless (and (symbolp function) 711 (unless (and (symbolp function)
712 (get function 'reader-construct)) 712 (get function 'reader-construct))
713 (insert high-usage "\n")) 713 (insert "Signature: " high-usage "\n\n")
714 (when (and (featurep 'native-compile)
715 (subr-native-elisp-p (symbol-function function)))
716 (insert (format "Type: %s\n" (subr-type (symbol-function function))))))
714 (fill-region fill-begin (point)) 717 (fill-region fill-begin (point))
715 high-doc))))) 718 high-doc)))))
716 719