[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
master 0b43ed4dbc 1/6: ; * lisp/image-mode.el: Delete commented out imag
From: |
Stefan Kangas |
Subject: |
master 0b43ed4dbc 1/6: ; * lisp/image-mode.el: Delete commented out image-transform-mode. |
Date: |
Thu, 18 Aug 2022 14:33:42 -0400 (EDT) |
branch: master
commit 0b43ed4dbca0b6472ab2ec91c22dd809dfd42801
Author: Stefan Kangas <stefankangas@gmail.com>
Commit: Stefan Kangas <stefankangas@gmail.com>
; * lisp/image-mode.el: Delete commented out image-transform-mode.
This mode was added in 2010 but never implemented. It was
subsequently commented out in 2012.
---
lisp/image-mode.el | 20 --------------------
1 file changed, 20 deletions(-)
diff --git a/lisp/image-mode.el b/lisp/image-mode.el
index 76c076818f..a923db5b5f 100644
--- a/lisp/image-mode.el
+++ b/lisp/image-mode.el
@@ -1384,26 +1384,6 @@ If no such buffer exists, it will be opened."
(image-toggle-display))))
-;; Not yet implemented.
-;; (defvar image-transform-minor-mode-map
-;; (let ((map (make-sparse-keymap)))
-;; ;; (define-key map [(control ?+)] 'image-scale-in)
-;; ;; (define-key map [(control ?-)] 'image-scale-out)
-;; ;; (define-key map [(control ?=)] 'image-scale-none)
-;; ;; (define-key map "c f h" 'image-scale-fit-height)
-;; ;; (define-key map "c ]" 'image-rotate-right)
-;; map)
-;; "Minor mode keymap `image-transform-mode'.")
-;;
-;; (define-minor-mode image-transform-mode
-;; "Minor mode for scaling and rotating images.
-;; With a prefix argument ARG, enable the mode if ARG is positive,
-;; and disable it otherwise. If called from Lisp, enable the mode
-;; if ARG is omitted or nil. This minor mode requires Emacs to have
-;; been compiled with ImageMagick support."
-;; nil "image-transform" image-transform-minor-mode-map)
-
-
(defsubst image-transform-width (width height)
"Return the bounding box width of a rotated WIDTH x HEIGHT rectangle.
The rotation angle is the value of `image-transform-rotation' in degrees."
- master updated (f97668c38f -> 7858ec980b), Stefan Kangas, 2022/08/18
- master 104cb5cbf5 5/6: Make toggling between image, hex and text more consistent, Stefan Kangas, 2022/08/18
- master 0dc9c9a68f 3/6: New command image-transform-set-percent, Stefan Kangas, 2022/08/18
- master 0b43ed4dbc 1/6: ; * lisp/image-mode.el: Delete commented out image-transform-mode.,
Stefan Kangas <=
- master 9f8e16d828 2/6: Prefer defvar-keymap in image-mode.el, Stefan Kangas, 2022/08/18
- master 7858ec980b 6/6: Do interactive mode tagging in image-mode.el, Stefan Kangas, 2022/08/18
- master 054d1e80dc 4/6: ; * lisp/image-mode.el (image-minor-mode): Reflow docstring., Stefan Kangas, 2022/08/18