aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorBasil L. Contovounesios2019-07-16 22:51:27 +0100
committerBasil L. Contovounesios2019-07-20 16:00:31 +0100
commitb728620a756db78b8cb0a41afa72db6209102cdf (patch)
tree30b5a0597791fe9a47cae18dda203d737b453bfa /doc
parent6b882ea3532fffe31e2f27bfec265129a5e80348 (diff)
downloademacs-b728620a756db78b8cb0a41afa72db6209102cdf.tar.gz
emacs-b728620a756db78b8cb0a41afa72db6209102cdf.zip
Allow counter-clockwise rotations in image-rotate
* lisp/image.el (image-rotate): Extend with an optional argument specifying the rotation in degrees (bug#35421). * doc/lispref/display.texi (Showing Images): * etc/NEWS: Document the change. * test/lisp/image-tests.el (image-rotate): New test.
Diffstat (limited to 'doc')
-rw-r--r--doc/lispref/display.texi3
1 files changed, 2 insertions, 1 deletions
diff --git a/doc/lispref/display.texi b/doc/lispref/display.texi
index a38569f7263..4b10788862e 100644
--- a/doc/lispref/display.texi
+++ b/doc/lispref/display.texi
@@ -5992,7 +5992,8 @@ Decrease the image size (@code{image-increase-size}). A prefix value
5992of @samp{4} means to decrease the size by 40%. The default is 20%. 5992of @samp{4} means to decrease the size by 40%. The default is 20%.
5993 5993
5994@item r 5994@item r
5995Rotate the image by 90 degrees (@code{image-rotate}). 5995Rotate the image by 90 degrees clockwise (@code{image-rotate}).
5996A prefix means to rotate by 90 degrees counter-clockwise instead.
5996 5997
5997@item o 5998@item o
5998Save the image to a file (@code{image-save}). 5999Save the image to a file (@code{image-save}).