1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-15 10:30:25 -08:00

Use a sparse image keymap

* lisp/image.el (image-map): Use a sparse keymap.
This commit is contained in:
Lars Ingebrigtsen 2016-02-10 12:32:28 +11:00
parent f7405a094b
commit b473cf4e4d

View file

@ -141,7 +141,7 @@ based on the font pixel size."
;; Map put into text properties on images.
(defvar image-map
(let ((map (make-keymap)))
(let ((map (make-sparse-keymap)))
(define-key map "-" 'image-decrease-size)
(define-key map "+" 'image-increase-size)
(define-key map "r" 'image-rotate)