aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJim Blandy1993-03-11 07:07:17 +0000
committerJim Blandy1993-03-11 07:07:17 +0000
commit0964e5628ea54eb857accfd7cc5b34e95a2dd72e (patch)
tree4f84213861066a3ac34011ec8e13a99db84e55e1
parentffb34e78e772976460abfe617ebc9fa85e9975c5 (diff)
downloademacs-0964e5628ea54eb857accfd7cc5b34e95a2dd72e.tar.gz
emacs-0964e5628ea54eb857accfd7cc5b34e95a2dd72e.zip
* simple.el (kill-ring-save): Doc fix.
-rw-r--r--lisp/simple.el12
1 files changed, 9 insertions, 3 deletions
diff --git a/lisp/simple.el b/lisp/simple.el
index 62f70063658..b9b0883e372 100644
--- a/lisp/simple.el
+++ b/lisp/simple.el
@@ -1018,7 +1018,11 @@ system cut and paste."
1018 nil) 1018 nil)
1019 1019
1020(defun kill-ring-save (beg end) 1020(defun kill-ring-save (beg end)
1021 "Save the region as if killed, but don't kill it." 1021 "Save the region as if killed, but don't kill it.
1022This command is similar to copy-region-as-kill, except that it gives
1023visual feedback indicating the extent of the region being copied.
1024If `interprogram-cut-function' is non-nil, also save the text for a window
1025system cut and paste."
1022 (interactive "r") 1026 (interactive "r")
1023 (copy-region-as-kill beg end) 1027 (copy-region-as-kill beg end)
1024 (if (interactive-p) 1028 (if (interactive-p)
@@ -1067,7 +1071,8 @@ comes the newest one."
1067 (delete-region (point) (mark)) 1071 (delete-region (point) (mark))
1068 (set-mark (point)) 1072 (set-mark (point))
1069 (insert (current-kill arg)) 1073 (insert (current-kill arg))
1070 (if before (exchange-point-and-mark)))) 1074 (if before (exchange-point-and-mark)))
1075 nil)
1071 1076
1072(defun yank (&optional arg) 1077(defun yank (&optional arg)
1073 "Reinsert the last stretch of killed text. 1078 "Reinsert the last stretch of killed text.
@@ -1084,7 +1089,8 @@ See also the command \\[yank-pop]."
1084 ((eq arg '-) -1) 1089 ((eq arg '-) -1)
1085 (t (1- arg))))) 1090 (t (1- arg)))))
1086 (if (consp arg) 1091 (if (consp arg)
1087 (exchange-point-and-mark))) 1092 (exchange-point-and-mark))
1093 nil)
1088 1094
1089(defun rotate-yank-pointer (arg) 1095(defun rotate-yank-pointer (arg)
1090 "Rotate the yanking point in the kill ring. 1096 "Rotate the yanking point in the kill ring.