diff options
Diffstat (limited to 'lisp')
| -rw-r--r-- | lisp/doc-view.el | 16 | ||||
| -rw-r--r-- | lisp/image-mode.el | 6 |
2 files changed, 12 insertions, 10 deletions
diff --git a/lisp/doc-view.el b/lisp/doc-view.el index 8dd0d93071e..714fdf8b088 100644 --- a/lisp/doc-view.el +++ b/lisp/doc-view.el | |||
| @@ -59,16 +59,16 @@ | |||
| 59 | ;; will be remembered and applied to all pages of the current | 59 | ;; will be remembered and applied to all pages of the current |
| 60 | ;; document. This enables you to cut away the margins of a document | 60 | ;; document. This enables you to cut away the margins of a document |
| 61 | ;; to save some space. To select a slice you can use | 61 | ;; to save some space. To select a slice you can use |
| 62 | ;; `doc-view-set-slice' (bound to `s s') which will query you for the | 62 | ;; `doc-view-set-slice' (bound to `c s') which will query you for the |
| 63 | ;; coordinates of the slice's top-left corner and its width and | 63 | ;; coordinates of the slice's top-left corner and its width and |
| 64 | ;; height. A much more convenient way to do the same is offered by | 64 | ;; height. A much more convenient way to do the same is offered by |
| 65 | ;; the command `doc-view-set-slice-using-mouse' (bound to `s m'). | 65 | ;; the command `doc-view-set-slice-using-mouse' (bound to `c m'). |
| 66 | ;; After invocation you only have to press mouse-1 at the top-left | 66 | ;; After invocation you only have to press mouse-1 at the top-left |
| 67 | ;; corner and drag it to the bottom-right corner of the desired slice. | 67 | ;; corner and drag it to the bottom-right corner of the desired slice. |
| 68 | ;; Even more accurate and convenient is to use | 68 | ;; Even more accurate and convenient is to use |
| 69 | ;; `doc-view-set-slice-from-bounding-box' (bound to `s b') which uses | 69 | ;; `doc-view-set-slice-from-bounding-box' (bound to `c b') which uses |
| 70 | ;; the BoundingBox information of the current page to set an optimal | 70 | ;; the BoundingBox information of the current page to set an optimal |
| 71 | ;; slice. To reset the slice use `doc-view-reset-slice' (bound to `s | 71 | ;; slice. To reset the slice use `doc-view-reset-slice' (bound to `c |
| 72 | ;; r'). | 72 | ;; r'). |
| 73 | ;; | 73 | ;; |
| 74 | ;; You can also search within the document. The command `doc-view-search' | 74 | ;; You can also search within the document. The command `doc-view-search' |
| @@ -433,10 +433,10 @@ Typically \"page-%s.png\".") | |||
| 433 | ;; Killing the buffer (and the process) | 433 | ;; Killing the buffer (and the process) |
| 434 | (define-key map (kbd "K") 'doc-view-kill-proc) | 434 | (define-key map (kbd "K") 'doc-view-kill-proc) |
| 435 | ;; Slicing the image | 435 | ;; Slicing the image |
| 436 | (define-key map (kbd "s s") 'doc-view-set-slice) | 436 | (define-key map (kbd "c s") 'doc-view-set-slice) |
| 437 | (define-key map (kbd "s m") 'doc-view-set-slice-using-mouse) | 437 | (define-key map (kbd "c m") 'doc-view-set-slice-using-mouse) |
| 438 | (define-key map (kbd "s b") 'doc-view-set-slice-from-bounding-box) | 438 | (define-key map (kbd "c b") 'doc-view-set-slice-from-bounding-box) |
| 439 | (define-key map (kbd "s r") 'doc-view-reset-slice) | 439 | (define-key map (kbd "c r") 'doc-view-reset-slice) |
| 440 | ;; Searching | 440 | ;; Searching |
| 441 | (define-key map (kbd "C-s") 'doc-view-search) | 441 | (define-key map (kbd "C-s") 'doc-view-search) |
| 442 | (define-key map (kbd "<find>") 'doc-view-search) | 442 | (define-key map (kbd "<find>") 'doc-view-search) |
diff --git a/lisp/image-mode.el b/lisp/image-mode.el index 6ce4e74c7ed..08f04f1d7fb 100644 --- a/lisp/image-mode.el +++ b/lisp/image-mode.el | |||
| @@ -452,12 +452,12 @@ call." | |||
| 452 | 452 | ||
| 453 | ;; Transformation keys | 453 | ;; Transformation keys |
| 454 | (define-key map "sf" 'image-mode-fit-frame) | 454 | (define-key map "sf" 'image-mode-fit-frame) |
| 455 | (define-key map "sb" 'image-transform-fit-both) | ||
| 456 | (define-key map "sh" 'image-transform-fit-to-height) | 455 | (define-key map "sh" 'image-transform-fit-to-height) |
| 457 | (define-key map "sw" 'image-transform-fit-to-width) | 456 | (define-key map "sw" 'image-transform-fit-to-width) |
| 457 | (define-key map "sb" 'image-transform-fit-both) | ||
| 458 | (define-key map "ss" 'image-transform-set-scale) | ||
| 458 | (define-key map "sr" 'image-transform-set-rotation) | 459 | (define-key map "sr" 'image-transform-set-rotation) |
| 459 | (define-key map "s0" 'image-transform-reset) | 460 | (define-key map "s0" 'image-transform-reset) |
| 460 | (define-key map "ss" 'image-transform-set-scale) | ||
| 461 | 461 | ||
| 462 | ;; Multi-frame keys | 462 | ;; Multi-frame keys |
| 463 | (define-key map (kbd "RET") 'image-toggle-animation) | 463 | (define-key map (kbd "RET") 'image-toggle-animation) |
| @@ -512,6 +512,8 @@ call." | |||
| 512 | :help "Resize image to match the window width"] | 512 | :help "Resize image to match the window width"] |
| 513 | ["Fit to Window Height and Width" image-transform-fit-both | 513 | ["Fit to Window Height and Width" image-transform-fit-both |
| 514 | :help "Resize image to match the window height and width"] | 514 | :help "Resize image to match the window height and width"] |
| 515 | ["Set Scale..." image-transform-set-scale | ||
| 516 | :help "Resize image by specified scale factor"] | ||
| 515 | ["Rotate Image..." image-transform-set-rotation | 517 | ["Rotate Image..." image-transform-set-rotation |
| 516 | :help "Rotate the image"] | 518 | :help "Rotate the image"] |
| 517 | ["Reset Transformations" image-transform-reset | 519 | ["Reset Transformations" image-transform-reset |