]> git.eshelyaron.com Git - emacs.git/commitdiff
(cua-toggle-global-mark, cua-cut-region-to-global-mark,
authorJuanma Barranquero <lekktu@gmail.com>
Thu, 30 Jun 2005 01:13:21 +0000 (01:13 +0000)
committerJuanma Barranquero <lekktu@gmail.com>
Thu, 30 Jun 2005 01:13:21 +0000 (01:13 +0000)
cua--cut-rectangle-to-global-mark): Remove period from end of error messages.

lisp/emulation/cua-gmrk.el

index b8874df0f34f697e28e33348077eee7366437c44..68a28e1637a38869ea737a3bea2f187ce4a054d4 100644 (file)
@@ -96,7 +96,7 @@ When the global marker is set, CUA cut and copy commands will automatically
 insert the deleted or copied text before the global marker, even when the
 global marker is in another buffer.
 If the global marker isn't set, set the global marker at point in the current
-buffer. Otherwise jump to the global marker position and cancel it.
+buffer.  Otherwise jump to the global marker position and cancel it.
 With prefix argument, don't jump to global mark when cancelling it."
   (interactive "P")
   (unless cua--global-mark-initialized
@@ -105,7 +105,7 @@ With prefix argument, don't jump to global mark when cancelling it."
       (if (not buffer-read-only)
          (cua--activate-global-mark t)
        (ding)
-       (message "Cannot set global mark in read-only buffer."))
+       (message "Cannot set global mark in read-only buffer"))
     (when (not stay)
       (pop-to-buffer (marker-buffer cua--global-mark-marker))
       (goto-char cua--global-mark-marker))
@@ -165,7 +165,7 @@ With prefix argument, don't jump to global mark when cancelling it."
          (if (equal (marker-buffer cua--global-mark-marker) src-buf)
              (if (and (< start (marker-position cua--global-mark-marker))
                       (< (marker-position cua--global-mark-marker) end))
-                 (message "Can't move region into itself.")
+                 (message "Can't move region into itself")
                (let ((text (buffer-substring-no-properties start end))
                      (p1 (copy-marker start))
                      (p2 (copy-marker end)))
@@ -222,7 +222,7 @@ With prefix argument, don't jump to global mark when cancelling it."
                      (setq in-rect t olist nil)
                    (setq olist (cdr olist))))
                (if in-rect
-                   (message "Can't move rectangle into itself.")
+                   (message "Can't move rectangle into itself")
                  (let ((text (cua--extract-rectangle)))
                    (cua--delete-rectangle)
                    (goto-char (marker-position cua--global-mark-marker))