aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLars Ingebrigtsen2016-04-30 00:11:15 +0200
committerLars Ingebrigtsen2016-04-30 00:11:15 +0200
commit33d2c67bff0992ecbc0fe38556683242b9d1a4ae (patch)
treec1691fc147ffcc4a69218881c7d743a2d6ee09d1
parent6baca4911ec901579749dbf7596011d90fea3781 (diff)
downloademacs-33d2c67bff0992ecbc0fe38556683242b9d1a4ae.tar.gz
emacs-33d2c67bff0992ecbc0fe38556683242b9d1a4ae.zip
Doc fixes for menu-bar.el
* lisp/menu-bar.el (clipboard-kill-ring-save): Describe the REGION parameter (bug#18028). (clipboard-kill-region): Ditto.
-rw-r--r--lisp/menu-bar.el8
1 files changed, 6 insertions, 2 deletions
diff --git a/lisp/menu-bar.el b/lisp/menu-bar.el
index 82d8fada943..933e2d22f67 100644
--- a/lisp/menu-bar.el
+++ b/lisp/menu-bar.el
@@ -541,7 +541,9 @@
541 (yank))) 541 (yank)))
542 542
543(defun clipboard-kill-ring-save (beg end &optional region) 543(defun clipboard-kill-ring-save (beg end &optional region)
544 "Copy region to kill ring, and save in the GUI's clipboard." 544 "Copy region to kill ring, and save in the GUI's clipboard.
545If the optional argument REGION is non-nil, the function ignores
546BEG and END, and saves the current region instead."
545 (interactive "r\np") 547 (interactive "r\np")
546 (let ((gui-select-enable-clipboard t) 548 (let ((gui-select-enable-clipboard t)
547 (interprogram-cut-function (or interprogram-cut-function 549 (interprogram-cut-function (or interprogram-cut-function
@@ -549,7 +551,9 @@
549 (kill-ring-save beg end region))) 551 (kill-ring-save beg end region)))
550 552
551(defun clipboard-kill-region (beg end &optional region) 553(defun clipboard-kill-region (beg end &optional region)
552 "Kill the region, and save it in the GUI's clipboard." 554 "Kill the region, and save it in the GUI's clipboard.
555If the optional argument REGION is non-nil, the function ignores
556BEG and END, and kills the current region instead."
553 (interactive "r\np") 557 (interactive "r\np")
554 (let ((gui-select-enable-clipboard t) 558 (let ((gui-select-enable-clipboard t)
555 (interprogram-cut-function (or interprogram-cut-function 559 (interprogram-cut-function (or interprogram-cut-function