* lisp/menu-bar.el (yank-menu-length): Fix docstring (bug#51138).

This commit is contained in:
Juri Linkov 2021-10-15 09:58:29 +03:00
parent 9ff6999a06
commit 12654b7423
2 changed files with 2 additions and 2 deletions

View file

@ -823,7 +823,7 @@ Returns a list of the form (REAL-FUNCTION DEF ALIASED REAL-DEF)."
;; Advised & aliased function.
(and advised (symbolp real-function)
(not (eq 'autoload (car-safe def))))
(and (subrp def)
(and (subrp def) (symbolp function)
(not (string= (subr-name def)
(symbol-name function)))))))
(real-def (cond

View file

@ -2159,7 +2159,7 @@ otherwise it could decide to silently do nothing."
(> count 1)))
(defcustom yank-menu-length 20
"Maximum length to display in the `yank-menu'."
"Text of items in `yank-menu' longer than this will be truncated."
:type 'integer
:group 'menu)