From: Eli Zaretskii Date: Fri, 16 Sep 2022 11:23:41 +0000 (+0300) Subject: ; * lisp/image/image-crop.el (image-cut): Doc fix. X-Git-Tag: emacs-29.0.90~1856^2~455 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=e485734151ca3741ecf03e27aae2384fc7ace461;p=emacs.git ; * lisp/image/image-crop.el (image-cut): Doc fix. --- diff --git a/lisp/image/image-crop.el b/lisp/image/image-crop.el index 682fce39866..8b6694f2231 100644 --- a/lisp/image/image-crop.el +++ b/lisp/image/image-crop.el @@ -105,9 +105,9 @@ image data.") ;;;###autoload (defun image-cut (&optional color) - "Cut a rectangle from the image under point. -Interactively, if given a prefix, prompt for COLOR to use. -Otherwise, default to `image-cut-color'." + "Cut a rectangle from the image under point, filling it with COLOR. +COLOR defaults to the value of `image-cut-color'. +Interactively, with prefix argument, prompt for COLOR to use." (interactive (list (and current-prefix-arg (read-color "Use color: ")))) (image-crop (if (zerop (length color)) image-cut-color color)))