mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2024-11-26 07:33:47 +00:00
* lisp/iimage.el (iimage-mode-map): Prefer defvar-keymap.
This commit is contained in:
parent
4993050c2a
commit
9971a309aa
@ -76,11 +76,9 @@ Examples of image filename patterns to match:
|
||||
foo.JPG"
|
||||
:type '(alist :key-type regexp :value-type integer))
|
||||
|
||||
(defvar iimage-mode-map
|
||||
(let ((map (make-sparse-keymap)))
|
||||
(define-key map "\C-l" #'iimage-recenter)
|
||||
map)
|
||||
"Keymap used in `iimage-mode'.")
|
||||
(defvar-keymap iimage-mode-map
|
||||
:doc "Keymap used in `iimage-mode'."
|
||||
"C-l" #'iimage-recenter)
|
||||
|
||||
(defun iimage-recenter (&optional arg)
|
||||
"Re-draw images and recenter."
|
||||
|
Loading…
Reference in New Issue
Block a user