]> git.eshelyaron.com Git - emacs.git/commitdiff
Use a sparse image keymap
authorLars Ingebrigtsen <larsi@gnus.org>
Wed, 10 Feb 2016 01:32:28 +0000 (12:32 +1100)
committerLars Ingebrigtsen <larsi@gnus.org>
Wed, 10 Feb 2016 01:32:28 +0000 (12:32 +1100)
* lisp/image.el (image-map): Use a sparse keymap.

lisp/image.el

index 4f2733adb7e3b58226e4f5f0d6f9e47a187287d6..1b07ee2491e75f58296bd0828ad6575b2aca3dfe 100644 (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)