diff options
author | Lars Ingebrigtsen <larsi@gnus.org> | 2016-04-30 00:11:15 +0200 |
---|---|---|
committer | Lars Ingebrigtsen <larsi@gnus.org> | 2016-05-01 19:27:10 +0200 |
commit | 4a2f33d1a11e0608d521520afcb14ec13dd1a722 (patch) | |
tree | 81d597074884333da0d1c1388ee5ba18001a9619 /lisp/menu-bar.el | |
parent | 71795d4b5fa210de645d435e23f1d40814c9aee5 (diff) | |
download | emacs-4a2f33d1a11e0608d521520afcb14ec13dd1a722.tar.gz |
Doc fixes for menu-bar.el
* lisp/menu-bar.el (clipboard-kill-ring-save): Describe the
REGION parameter (bug#18028).
(clipboard-kill-region): Ditto.
(cherry picked from commit 33d2c67bff0992ecbc0fe38556683242b9d1a4ae)
Diffstat (limited to 'lisp/menu-bar.el')
-rw-r--r-- | lisp/menu-bar.el | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/lisp/menu-bar.el b/lisp/menu-bar.el index 6281d7e5453..6571a4b9d4f 100644 --- a/lisp/menu-bar.el +++ b/lisp/menu-bar.el @@ -539,13 +539,17 @@ (yank))) (defun clipboard-kill-ring-save (beg end &optional region) - "Copy region to kill ring, and save in the GUI's clipboard." + "Copy region to kill ring, and save in the GUI's clipboard. +If the optional argument REGION is non-nil, the function ignores +BEG and END, and saves the current region instead." (interactive "r\np") (let ((gui-select-enable-clipboard t)) (kill-ring-save beg end region))) (defun clipboard-kill-region (beg end &optional region) - "Kill the region, and save it in the GUI's clipboard." + "Kill the region, and save it in the GUI's clipboard. +If the optional argument REGION is non-nil, the function ignores +BEG and END, and kills the current region instead." (interactive "r\np") (let ((gui-select-enable-clipboard t)) (kill-region beg end region))) |