[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] emacs-25 4a2f33d 20/64: Doc fixes for menu-bar.el
From: |
Lars Ingebrigtsen |
Subject: |
[Emacs-diffs] emacs-25 4a2f33d 20/64: Doc fixes for menu-bar.el |
Date: |
Sun, 01 May 2016 18:18:40 +0000 |
branch: emacs-25
commit 4a2f33d1a11e0608d521520afcb14ec13dd1a722
Author: Lars Ingebrigtsen <address@hidden>
Commit: Lars Ingebrigtsen <address@hidden>
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)
---
lisp/menu-bar.el | 8 ++++++--
1 file changed, 6 insertions(+), 2 deletions(-)
diff --git a/lisp/menu-bar.el b/lisp/menu-bar.el
index 6281d7e..6571a4b 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)))
- [Emacs-diffs] emacs-25 updated (d8affa3 -> 8aa4147), Lars Ingebrigtsen, 2016/05/01
- [Emacs-diffs] emacs-25 3fc1ed8 02/64: Mention `lisp-indent-function' in the lispref manual, Lars Ingebrigtsen, 2016/05/01
- [Emacs-diffs] emacs-25 0a14d84 04/64: Clarify some doc strings, Lars Ingebrigtsen, 2016/05/01
- [Emacs-diffs] emacs-25 cf33ae0 05/64: Clarify the `interactive' doc string slightly, Lars Ingebrigtsen, 2016/05/01
- [Emacs-diffs] emacs-25 de8349e 06/64: Doc string change to enable-recursive-minibuffers, Lars Ingebrigtsen, 2016/05/01
- [Emacs-diffs] emacs-25 9bd2af8 01/64: Clarify doc string of internal compilation function, Lars Ingebrigtsen, 2016/05/01
- [Emacs-diffs] emacs-25 4a2f33d 20/64: Doc fixes for menu-bar.el,
Lars Ingebrigtsen <=
- [Emacs-diffs] emacs-25 7b85885 22/64: Doc fix, Lars Ingebrigtsen, 2016/05/01
- [Emacs-diffs] emacs-25 cc00738 09/64: find-lisp doc touchups, Lars Ingebrigtsen, 2016/05/01
- [Emacs-diffs] emacs-25 651182d 24/64: Doc fixed for next-error-buffer-p, Lars Ingebrigtsen, 2016/05/01
- [Emacs-diffs] emacs-25 351c079 03/64: Add some concept index entries for custom types, Lars Ingebrigtsen, 2016/05/01
- [Emacs-diffs] emacs-25 c355774 21/64: delsel doc touch ups, Lars Ingebrigtsen, 2016/05/01
- [Emacs-diffs] emacs-25 05194cb 26/64: Doc fix for font-lock-remove-keywords, Lars Ingebrigtsen, 2016/05/01
- [Emacs-diffs] emacs-25 28ef870 11/64: Doc tweak, Lars Ingebrigtsen, 2016/05/01
- [Emacs-diffs] emacs-25 d815ba5 23/64: Tiny doc fix, Lars Ingebrigtsen, 2016/05/01
- [Emacs-diffs] emacs-25 92559c7 10/64: Link from (emacs)Exiting to (lisp)Killing Emacs, Lars Ingebrigtsen, 2016/05/01
- [Emacs-diffs] emacs-25 bc6c294 12/64: Doc fix for `kbd', Lars Ingebrigtsen, 2016/05/01