Don't ask the user to make a bug report on missing arglists

* lisp/help-fns.el (help-fns--signature): Don't ask the user to
make a bug report (bug#30223) because the symbol may very well be
one that the user has defined themselves.
(help-fns-function-description-header): Ditto.
This commit is contained in:
Lars Ingebrigtsen 2021-02-04 12:08:46 +01:00
parent 859a4cb6b2
commit b12d22f6af

View file

@ -533,7 +533,7 @@ suitable file is found, return nil."
(format "\nMacro: %s"
(help--docstring-quote
(format-kbd-macro real-def))))
(t "[Missing arglist. Please make a bug report.]")))
(t "[Missing arglist.]")))
;; Insert "`X", not "(\` X)", when documenting `X.
(use1 (replace-regexp-in-string
"\\`(\\\\=\\\\\\\\=` \\([^\n ]*\\))\\'"
@ -839,7 +839,7 @@ Returns a list of the form (REAL-FUNCTION DEF ALIASED REAL-DEF)."
(t "")))
(if (and aliased (not (fboundp real-def)))
(princ ",\nwhich is not defined. Please make a bug report.")
(princ ",\nwhich is not defined.")
(with-current-buffer standard-output
(save-excursion
(save-match-data