diff options
| author | Juri Linkov | 2020-04-27 01:33:36 +0300 |
|---|---|---|
| committer | Juri Linkov | 2020-04-27 01:33:36 +0300 |
| commit | 1f76a16ed349b9556ab711fc12ffb876c8488596 (patch) | |
| tree | b2640164a44c1897bf5ee65fc12c829ffc86d07d | |
| parent | f0e1bf56f041a7f104839678db61e47006b5657c (diff) | |
| download | emacs-1f76a16ed349b9556ab711fc12ffb876c8488596.tar.gz emacs-1f76a16ed349b9556ab711fc12ffb876c8488596.zip | |
* lisp/image-mode.el (image-mode-map): Update menu items.
* lisp/image-mode.el (image-mode-map): Move "Fit Image to Window (Best Fit)"
higher. Add "Zoom In" (image-increase-size), "Zoom Out" (image-decrease-size)
and "Rotate Clockwise" (image-rotate). Use name "Set Rotation..."
for image-transform-set-rotation. Swap "Next Image" and "Previous Image".
Swap "Next Frame" and "Previous Frame".
| -rw-r--r-- | lisp/image-mode.el | 20 |
1 files changed, 13 insertions, 7 deletions
diff --git a/lisp/image-mode.el b/lisp/image-mode.el index 3ee185a0dc5..480b2e6b26e 100644 --- a/lisp/image-mode.el +++ b/lisp/image-mode.el | |||
| @@ -505,16 +505,22 @@ call." | |||
| 505 | "--" | 505 | "--" |
| 506 | ["Fit Frame to Image" image-mode-fit-frame :active t | 506 | ["Fit Frame to Image" image-mode-fit-frame :active t |
| 507 | :help "Resize frame to match image"] | 507 | :help "Resize frame to match image"] |
| 508 | ["Fit Image to Window (Best Fit)" image-transform-fit-both | ||
| 509 | :help "Resize image to match the window height and width"] | ||
| 508 | ["Fit to Window Height" image-transform-fit-to-height | 510 | ["Fit to Window Height" image-transform-fit-to-height |
| 509 | :help "Resize image to match the window height"] | 511 | :help "Resize image to match the window height"] |
| 510 | ["Fit to Window Width" image-transform-fit-to-width | 512 | ["Fit to Window Width" image-transform-fit-to-width |
| 511 | :help "Resize image to match the window width"] | 513 | :help "Resize image to match the window width"] |
| 512 | ["Fit to Window Height and Width" image-transform-fit-both | 514 | ["Zoom In" image-increase-size |
| 513 | :help "Resize image to match the window height and width"] | 515 | :help "Enlarge the image"] |
| 516 | ["Zoom Out" image-decrease-size | ||
| 517 | :help "Shrink the image"] | ||
| 514 | ["Set Scale..." image-transform-set-scale | 518 | ["Set Scale..." image-transform-set-scale |
| 515 | :help "Resize image by specified scale factor"] | 519 | :help "Resize image by specified scale factor"] |
| 516 | ["Rotate Image..." image-transform-set-rotation | 520 | ["Rotate Clockwise" image-rotate |
| 517 | :help "Rotate the image"] | 521 | :help "Rotate the image"] |
| 522 | ["Set Rotation..." image-transform-set-rotation | ||
| 523 | :help "Set rotation angle of the image"] | ||
| 518 | ["Reset Transformations" image-transform-reset | 524 | ["Reset Transformations" image-transform-reset |
| 519 | :help "Reset all image transformations"] | 525 | :help "Reset all image transformations"] |
| 520 | "--" | 526 | "--" |
| @@ -524,10 +530,10 @@ call." | |||
| 524 | (image-dired default-directory)) | 530 | (image-dired default-directory)) |
| 525 | :active default-directory | 531 | :active default-directory |
| 526 | :help "Show thumbnails for all images in this directory"] | 532 | :help "Show thumbnails for all images in this directory"] |
| 527 | ["Next Image" image-next-file :active buffer-file-name | ||
| 528 | :help "Move to next image in this directory"] | ||
| 529 | ["Previous Image" image-previous-file :active buffer-file-name | 533 | ["Previous Image" image-previous-file :active buffer-file-name |
| 530 | :help "Move to previous image in this directory"] | 534 | :help "Move to previous image in this directory"] |
| 535 | ["Next Image" image-next-file :active buffer-file-name | ||
| 536 | :help "Move to next image in this directory"] | ||
| 531 | ["Copy File Name" image-mode-copy-file-name-as-kill | 537 | ["Copy File Name" image-mode-copy-file-name-as-kill |
| 532 | :active buffer-file-name | 538 | :active buffer-file-name |
| 533 | :help "Copy the current file name to the kill ring"] | 539 | :help "Copy the current file name to the kill ring"] |
| @@ -565,10 +571,10 @@ call." | |||
| 565 | ["Reset Animation Speed" image-reset-speed | 571 | ["Reset Animation Speed" image-reset-speed |
| 566 | :active image-multi-frame | 572 | :active image-multi-frame |
| 567 | :help "Reset the speed of this image's animation"] | 573 | :help "Reset the speed of this image's animation"] |
| 568 | ["Next Frame" image-next-frame :active image-multi-frame | ||
| 569 | :help "Show the next frame of this image"] | ||
| 570 | ["Previous Frame" image-previous-frame :active image-multi-frame | 574 | ["Previous Frame" image-previous-frame :active image-multi-frame |
| 571 | :help "Show the previous frame of this image"] | 575 | :help "Show the previous frame of this image"] |
| 576 | ["Next Frame" image-next-frame :active image-multi-frame | ||
| 577 | :help "Show the next frame of this image"] | ||
| 572 | ["Goto Frame..." image-goto-frame :active image-multi-frame | 578 | ["Goto Frame..." image-goto-frame :active image-multi-frame |
| 573 | :help "Show a specific frame of this image"] | 579 | :help "Show a specific frame of this image"] |
| 574 | )) | 580 | )) |