aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorLars Ingebrigtsen2016-02-10 12:03:55 +1100
committerLars Ingebrigtsen2016-02-10 12:03:55 +1100
commitf7405a094b5f2ef642f920a17ce8e30ff81f6f35 (patch)
treeca70eb2fb5c2777ba47e96e68e8ceb692b0e2cf9 /doc
parent6c54541fcc4cb4b57a476234f385aebdc3292a25 (diff)
downloademacs-f7405a094b5f2ef642f920a17ce8e30ff81f6f35.tar.gz
emacs-f7405a094b5f2ef642f920a17ce8e30ff81f6f35.zip
Put a keymap on images created with insert-image and friends
* lisp/image.el (image-save): New command. (image-rotate): Ditto. (image-map): New keymap. (insert-image): Put the image-map on all images. (insert-sliced-image): Ditto. * doc/lispref/display.texi (Showing Images): Document the image map.
Diffstat (limited to 'doc')
-rw-r--r--doc/lispref/display.texi20
1 files changed, 20 insertions, 0 deletions
diff --git a/doc/lispref/display.texi b/doc/lispref/display.texi
index c8e7e4fa5c1..26f3de40e91 100644
--- a/doc/lispref/display.texi
+++ b/doc/lispref/display.texi
@@ -5508,6 +5508,26 @@ cache, it can always be displayed, even if the value of
5508@code{max-image-size} is subsequently changed (@pxref{Image Cache}). 5508@code{max-image-size} is subsequently changed (@pxref{Image Cache}).
5509@end defvar 5509@end defvar
5510 5510
5511Images inserted with the insertion functions above also get a local
5512keymap installed in the text properties (or overlays) that span the
5513displayed image. This keymap defines the following commands:
5514
5515@table @kbd
5516@item +
5517Increase the image size (@code{image-increase-size}). A prefix value
5518of @samp{4} means to increase the size by 40%. The default is 20%.
5519
5520@item -
5521Decrease the image size (@code{image-increase-size}). A prefix value
5522of @samp{4} means to decrease the size by 40%. The default is 20%.
5523
5524@item r
5525Rotate the image by 90 degrees (@code{image-rotate}).
5526
5527@item o
5528Save the image to a file (@code{image-save}).
5529@end table
5530
5511@node Multi-Frame Images 5531@node Multi-Frame Images
5512@subsection Multi-Frame Images 5532@subsection Multi-Frame Images
5513@cindex multi-frame images 5533@cindex multi-frame images