1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-11-27 07:37:33 +00:00

(menu-bar-select-yank): Add a doc string.

This commit is contained in:
Eli Zaretskii 2006-02-11 16:18:02 +00:00
parent 8ee320fc76
commit 5fb64ecc5b
2 changed files with 4 additions and 0 deletions

View File

@ -1,5 +1,7 @@
2006-02-11 Eli Zaretskii <eliz@gnu.org>
* menu-bar.el (menu-bar-select-yank): Add a doc string.
* help.el (describe-key-briefly): Now a wrapper for
describe-key-briefly-internal. Bind enable-disabled-menus-and-buttons
to t. Populate yank-menu if empty.

View File

@ -1502,6 +1502,8 @@ for the definition of the menu frame."
(put 'menu-bar-select-yank 'apropos-inhibit t)
(defun menu-bar-select-yank ()
"Insert the stretch of previously-killed text selected from menu.
The menu shows all the killed text sequences stored in `kill-ring'."
(interactive "*")
(push-mark (point))
(insert last-command-event))