From 4f2b96779521bb8311bcd2de06a07efcfb60038f Mon Sep 17 00:00:00 2001 From: Christophe Deleuze Date: Wed, 22 Jan 2020 17:05:03 +0100 Subject: [PATCH] Fix doc strings for image-dired rotation commands * lisp/image-dired.el (image-dired-rotate-thumbnail-left) (image-dired-rotate-thumbnail-right) (image-dired-rotate-original-left) (image-dired-rotate-original-right): Move the text in the doc strings about rotating the originals to the correct commands (bug#38928). --- lisp/image-dired.el | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/lisp/image-dired.el b/lisp/image-dired.el index 7774b82d514..768e941490d 100644 --- a/lisp/image-dired.el +++ b/lisp/image-dired.el @@ -1980,20 +1980,12 @@ With prefix argument ARG, display image in its original size." (clear-image-cache thumb)))) (defun image-dired-rotate-thumbnail-left () - "Rotate thumbnail left (counter clockwise) 90 degrees. -The result of the rotation is displayed in the image display area -and a confirmation is needed before the original image files is -overwritten. This confirmation can be turned off using -`image-dired-rotate-original-ask-before-overwrite'." + "Rotate thumbnail left (counter clockwise) 90 degrees." (interactive) (image-dired-rotate-thumbnail "270")) (defun image-dired-rotate-thumbnail-right () - "Rotate thumbnail counter right (clockwise) 90 degrees. -The result of the rotation is displayed in the image display area -and a confirmation is needed before the original image files is -overwritten. This confirmation can be turned off using -`image-dired-rotate-original-ask-before-overwrite'." + "Rotate thumbnail counter right (clockwise) 90 degrees." (interactive) (image-dired-rotate-thumbnail "90")) @@ -2035,12 +2027,20 @@ overwritten. This confirmation can be turned off using (image-dired-display-image file)))))) (defun image-dired-rotate-original-left () - "Rotate original image left (counter clockwise) 90 degrees." + "Rotate original image left (counter clockwise) 90 degrees. +The result of the rotation is displayed in the image display area +and a confirmation is needed before the original image files is +overwritten. This confirmation can be turned off using +`image-dired-rotate-original-ask-before-overwrite'." (interactive) (image-dired-rotate-original "270")) (defun image-dired-rotate-original-right () - "Rotate original image right (clockwise) 90 degrees." + "Rotate original image right (clockwise) 90 degrees. +The result of the rotation is displayed in the image display area +and a confirmation is needed before the original image files is +overwritten. This confirmation can be turned off using +`image-dired-rotate-original-ask-before-overwrite'." (interactive) (image-dired-rotate-original "90")) -- 2.39.2