Skip to content

Commit 4f2b967

Browse files
cdeleuzelarsmagne
authored andcommitted
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).
1 parent 3b0938c commit 4f2b967

File tree

1 file changed

+12
-12
lines changed

1 file changed

+12
-12
lines changed

lisp/image-dired.el

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1980,20 +1980,12 @@ With prefix argument ARG, display image in its original size."
19801980
(clear-image-cache thumb))))
19811981

19821982
(defun image-dired-rotate-thumbnail-left ()
1983-
"Rotate thumbnail left (counter clockwise) 90 degrees.
1984-
The result of the rotation is displayed in the image display area
1985-
and a confirmation is needed before the original image files is
1986-
overwritten. This confirmation can be turned off using
1987-
`image-dired-rotate-original-ask-before-overwrite'."
1983+
"Rotate thumbnail left (counter clockwise) 90 degrees."
19881984
(interactive)
19891985
(image-dired-rotate-thumbnail "270"))
19901986

19911987
(defun image-dired-rotate-thumbnail-right ()
1992-
"Rotate thumbnail counter right (clockwise) 90 degrees.
1993-
The result of the rotation is displayed in the image display area
1994-
and a confirmation is needed before the original image files is
1995-
overwritten. This confirmation can be turned off using
1996-
`image-dired-rotate-original-ask-before-overwrite'."
1988+
"Rotate thumbnail counter right (clockwise) 90 degrees."
19971989
(interactive)
19981990
(image-dired-rotate-thumbnail "90"))
19991991

@@ -2035,12 +2027,20 @@ overwritten. This confirmation can be turned off using
20352027
(image-dired-display-image file))))))
20362028

20372029
(defun image-dired-rotate-original-left ()
2038-
"Rotate original image left (counter clockwise) 90 degrees."
2030+
"Rotate original image left (counter clockwise) 90 degrees.
2031+
The result of the rotation is displayed in the image display area
2032+
and a confirmation is needed before the original image files is
2033+
overwritten. This confirmation can be turned off using
2034+
`image-dired-rotate-original-ask-before-overwrite'."
20392035
(interactive)
20402036
(image-dired-rotate-original "270"))
20412037

20422038
(defun image-dired-rotate-original-right ()
2043-
"Rotate original image right (clockwise) 90 degrees."
2039+
"Rotate original image right (clockwise) 90 degrees.
2040+
The result of the rotation is displayed in the image display area
2041+
and a confirmation is needed before the original image files is
2042+
overwritten. This confirmation can be turned off using
2043+
`image-dired-rotate-original-ask-before-overwrite'."
20442044
(interactive)
20452045
(image-dired-rotate-original "90"))
20462046

0 commit comments

Comments
 (0)