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 /etc | |
| 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 'etc')
| -rw-r--r-- | etc/NEWS | 17 |
1 files changed, 12 insertions, 5 deletions
| @@ -824,11 +824,6 @@ while in non-`visual-line-mode' it will move the point to the indented | |||
| 824 | header’s value. | 824 | header’s value. |
| 825 | 825 | ||
| 826 | +++ | 826 | +++ |
| 827 | ** Images are automatically scaled before displaying based on the | ||
| 828 | `image-scaling-factor' variable (if Emacs supports scaling the images | ||
| 829 | in question). | ||
| 830 | |||
| 831 | +++ | ||
| 832 | ** In Show Paren Mode, a parenthesis can be highlighted when point | 827 | ** In Show Paren Mode, a parenthesis can be highlighted when point |
| 833 | stands inside it, and certain parens can be highlighted when point is | 828 | stands inside it, and certain parens can be highlighted when point is |
| 834 | at BOL or EOL, or in whitespace there. To enable these, customize, | 829 | at BOL or EOL, or in whitespace there. To enable these, customize, |
| @@ -839,6 +834,18 @@ respectively, `show-paren-when-point-inside-paren' or | |||
| 839 | ** If gpg2 exists on the system, it is now used as the default value | 834 | ** If gpg2 exists on the system, it is now used as the default value |
| 840 | of `epg-gpg-program' (instead of gpg). | 835 | of `epg-gpg-program' (instead of gpg). |
| 841 | 836 | ||
| 837 | ** Images | ||
| 838 | |||
| 839 | +++ | ||
| 840 | *** Images are automatically scaled before displaying based on the | ||
| 841 | `image-scaling-factor' variable (if Emacs supports scaling the images | ||
| 842 | in question). | ||
| 843 | |||
| 844 | *** Images inserted with `insert-image' and related functions get a | ||
| 845 | keymap put into the text properties (or overlays) that span the | ||
| 846 | image. This keymap binds keystrokes for manipulating size and | ||
| 847 | rotation, as well as saving the image to a file. | ||
| 848 | |||
| 842 | ** Lisp mode | 849 | ** Lisp mode |
| 843 | 850 | ||
| 844 | --- | 851 | --- |