diff options
author | Stefan Kangas <stefan@marxist.se> | 2021-11-05 03:24:50 +0100 |
---|---|---|
committer | Stefan Kangas <stefan@marxist.se> | 2021-11-06 20:45:37 +0100 |
commit | fd141116f67313c0d9787936cbaa4f12cfaffb9d (patch) | |
tree | 6f5097a132d59e89cc584a86d225432d940c761d /lisp/emacs-lisp/lisp-mode.el | |
parent | d648e0c6f97b1743f2adadf049412cb5c6d6f541 (diff) | |
download | emacs-fd141116f67313c0d9787936cbaa4f12cfaffb9d.tar.gz emacs-fd141116f67313c0d9787936cbaa4f12cfaffb9d.tar.bz2 emacs-fd141116f67313c0d9787936cbaa4f12cfaffb9d.zip |
New command image-transform-fit-to-window
* lisp/image-mode.el (image-auto-resize, image-transform-resize):
Add new value 'fit-window', meaning to scale the image up or down
to fit the window. (Bug#)
(image-transform-fit-to-window): New command.
(image-transform-fit-to-height, image-transform-fit-to-width):
Make obsolete in favor of above new command.
(image-mode-map): Bind "s w" to 'image-transform-fit-to-window'.
Move binding for obsolete command 'image-transform-fit-to-width'
to "s i".
(image-mode-map): Add menu entry for
'image-transform-fit-to-window'. Remove menu entries for above
obsolete commands.
* doc/emacs/files.texi (Image Mode): Update documentation.
(image-transform-fit-both): Doc fix.
Diffstat (limited to 'lisp/emacs-lisp/lisp-mode.el')
0 files changed, 0 insertions, 0 deletions