[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
master 7e69230171: ; * lisp/image/image-crop.el (image-elide, image-crop
From: |
Eli Zaretskii |
Subject: |
master 7e69230171: ; * lisp/image/image-crop.el (image-elide, image-crop): Doc fixes. |
Date: |
Wed, 14 Sep 2022 14:38:37 -0400 (EDT) |
branch: master
commit 7e6923017163561d1b8cedf15aac42e01e493aee
Author: Eli Zaretskii <eliz@gnu.org>
Commit: Eli Zaretskii <eliz@gnu.org>
; * lisp/image/image-crop.el (image-elide, image-crop): Doc fixes.
---
lisp/image/image-crop.el | 21 ++++++++++-----------
1 file changed, 10 insertions(+), 11 deletions(-)
diff --git a/lisp/image/image-crop.el b/lisp/image/image-crop.el
index 64db226d50..7716efcd54 100644
--- a/lisp/image/image-crop.el
+++ b/lisp/image/image-crop.el
@@ -100,12 +100,11 @@ image data.")
;;;###autoload
(defun image-elide (color &optional square)
- "Elide a square from the image under point.
-If SQUARE (interactively, the prefix), elide a square instead of a
-rectangle from the image.
+ "Elide a rectangle from the image under point, filling it with COLOR.
+If SQUARE is non-nil (interactively, prefix arg), elide a square
+instead of a rectangle from the image.
-Interatively, the user will be prompted for the color to use, and
-defaults to black."
+Interactively, prompt for COLOR to use, defaulting to black."
(interactive (list (read-color "Use color: ")
current-prefix-arg))
(image-crop square (if (string-empty-p color)
@@ -114,14 +113,14 @@ defaults to black."
;;;###autoload
(defun image-crop (&optional square elide)
"Crop the image under point.
-If SQUARE (interactively, the prefix), crop a square instead of a
-rectangle from the image.
+If SQUARE is non-nil (interactively, prefix arg), crop a square
+instead of a rectangle from the image.
-If ELIDE, remove a rectangle from the image instead of cropping
-the image. In that case ELIDE, should be the name of a color to
-use.
+If ELIDE is non-nil, remove a rectangle/square from the image
+instead of cropping the image. In that case ELIDE should be
+the name of a color to fill the rectangle.
-After cropping an image, it can be saved by `M-x image-save' or
+After cropping an image, you can save it by `M-x image-save' or
\\<image-map>\\[image-save] when point is over the image."
(interactive "P")
(unless (image-type-available-p 'svg)
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- master 7e69230171: ; * lisp/image/image-crop.el (image-elide, image-crop): Doc fixes.,
Eli Zaretskii <=