aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJuanma Barranquero2005-06-30 01:13:21 +0000
committerJuanma Barranquero2005-06-30 01:13:21 +0000
commitc23eed1b5f098f14aba61b1d3e81f04cff7a827f (patch)
treeca4e99e85f6db6b12a8413d17be072b3c817d2cc
parentc77d7c926b1c0ea4ee7c0e56132f50c0717962f4 (diff)
downloademacs-c23eed1b5f098f14aba61b1d3e81f04cff7a827f.tar.gz
emacs-c23eed1b5f098f14aba61b1d3e81f04cff7a827f.zip
(cua-toggle-global-mark, cua-cut-region-to-global-mark,
cua--cut-rectangle-to-global-mark): Remove period from end of error messages.
-rw-r--r--lisp/emulation/cua-gmrk.el8
1 files changed, 4 insertions, 4 deletions
diff --git a/lisp/emulation/cua-gmrk.el b/lisp/emulation/cua-gmrk.el
index b8874df0f34..68a28e1637a 100644
--- a/lisp/emulation/cua-gmrk.el
+++ b/lisp/emulation/cua-gmrk.el
@@ -96,7 +96,7 @@ When the global marker is set, CUA cut and copy commands will automatically
96insert the deleted or copied text before the global marker, even when the 96insert the deleted or copied text before the global marker, even when the
97global marker is in another buffer. 97global marker is in another buffer.
98If the global marker isn't set, set the global marker at point in the current 98If the global marker isn't set, set the global marker at point in the current
99buffer. Otherwise jump to the global marker position and cancel it. 99buffer. Otherwise jump to the global marker position and cancel it.
100With prefix argument, don't jump to global mark when cancelling it." 100With prefix argument, don't jump to global mark when cancelling it."
101 (interactive "P") 101 (interactive "P")
102 (unless cua--global-mark-initialized 102 (unless cua--global-mark-initialized
@@ -105,7 +105,7 @@ With prefix argument, don't jump to global mark when cancelling it."
105 (if (not buffer-read-only) 105 (if (not buffer-read-only)
106 (cua--activate-global-mark t) 106 (cua--activate-global-mark t)
107 (ding) 107 (ding)
108 (message "Cannot set global mark in read-only buffer.")) 108 (message "Cannot set global mark in read-only buffer"))
109 (when (not stay) 109 (when (not stay)
110 (pop-to-buffer (marker-buffer cua--global-mark-marker)) 110 (pop-to-buffer (marker-buffer cua--global-mark-marker))
111 (goto-char cua--global-mark-marker)) 111 (goto-char cua--global-mark-marker))
@@ -165,7 +165,7 @@ With prefix argument, don't jump to global mark when cancelling it."
165 (if (equal (marker-buffer cua--global-mark-marker) src-buf) 165 (if (equal (marker-buffer cua--global-mark-marker) src-buf)
166 (if (and (< start (marker-position cua--global-mark-marker)) 166 (if (and (< start (marker-position cua--global-mark-marker))
167 (< (marker-position cua--global-mark-marker) end)) 167 (< (marker-position cua--global-mark-marker) end))
168 (message "Can't move region into itself.") 168 (message "Can't move region into itself")
169 (let ((text (buffer-substring-no-properties start end)) 169 (let ((text (buffer-substring-no-properties start end))
170 (p1 (copy-marker start)) 170 (p1 (copy-marker start))
171 (p2 (copy-marker end))) 171 (p2 (copy-marker end)))
@@ -222,7 +222,7 @@ With prefix argument, don't jump to global mark when cancelling it."
222 (setq in-rect t olist nil) 222 (setq in-rect t olist nil)
223 (setq olist (cdr olist)))) 223 (setq olist (cdr olist))))
224 (if in-rect 224 (if in-rect
225 (message "Can't move rectangle into itself.") 225 (message "Can't move rectangle into itself")
226 (let ((text (cua--extract-rectangle))) 226 (let ((text (cua--extract-rectangle)))
227 (cua--delete-rectangle) 227 (cua--delete-rectangle)
228 (goto-char (marker-position cua--global-mark-marker)) 228 (goto-char (marker-position cua--global-mark-marker))