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:
parent
8ee320fc76
commit
5fb64ecc5b
@ -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.
|
||||
|
@ -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))
|
||||
|
Loading…
Reference in New Issue
Block a user