diff options
| author | Lars Ingebrigtsen | 2016-02-10 12:03:55 +1100 |
|---|---|---|
| committer | Lars Ingebrigtsen | 2016-02-10 12:03:55 +1100 |
| commit | f7405a094b5f2ef642f920a17ce8e30ff81f6f35 (patch) | |
| tree | ca70eb2fb5c2777ba47e96e68e8ceb692b0e2cf9 /doc | |
| parent | 6c54541fcc4cb4b57a476234f385aebdc3292a25 (diff) | |
| download | emacs-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.texi | 20 |
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 | ||
| 5511 | Images inserted with the insertion functions above also get a local | ||
| 5512 | keymap installed in the text properties (or overlays) that span the | ||
| 5513 | displayed image. This keymap defines the following commands: | ||
| 5514 | |||
| 5515 | @table @kbd | ||
| 5516 | @item + | ||
| 5517 | Increase the image size (@code{image-increase-size}). A prefix value | ||
| 5518 | of @samp{4} means to increase the size by 40%. The default is 20%. | ||
| 5519 | |||
| 5520 | @item - | ||
| 5521 | Decrease the image size (@code{image-increase-size}). A prefix value | ||
| 5522 | of @samp{4} means to decrease the size by 40%. The default is 20%. | ||
| 5523 | |||
| 5524 | @item r | ||
| 5525 | Rotate the image by 90 degrees (@code{image-rotate}). | ||
| 5526 | |||
| 5527 | @item o | ||
| 5528 | Save 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 |