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:
parent
859a4cb6b2
commit
b12d22f6af
1 changed files with 2 additions and 2 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue