summaryrefslogtreecommitdiff
path: root/lisp/iimage.el
diff options
context:
space:
mode:
authorStefan Kangas <stefan@marxist.se>2021-03-24 09:09:52 +0100
committerStefan Kangas <stefan@marxist.se>2021-03-24 09:09:52 +0100
commitc0d24d5316626a3d5e76f99a0f418463cb355459 (patch)
treedfbe35037c68228d686cfd25b69144c59c675ade /lisp/iimage.el
parentdf06cfe4a9859a00d7ea046be8f82f1b9e4564ec (diff)
downloademacs-c0d24d5316626a3d5e76f99a0f418463cb355459.tar.gz
emacs-c0d24d5316626a3d5e76f99a0f418463cb355459.tar.bz2
emacs-c0d24d5316626a3d5e76f99a0f418463cb355459.zip
Use lexical-binding in iimage.el
* lisp/iimage.el: Use lexical-binding. Remove redundant :group args.
Diffstat (limited to 'lisp/iimage.el')
-rw-r--r--lisp/iimage.el13
1 files changed, 5 insertions, 8 deletions
diff --git a/lisp/iimage.el b/lisp/iimage.el
index cc1461d7b0f..192530a8e6a 100644
--- a/lisp/iimage.el
+++ b/lisp/iimage.el
@@ -1,4 +1,4 @@
-;;; iimage.el --- Inline image minor mode.
+;;; iimage.el --- Inline image minor mode. -*- lexical-binding: t -*-
;; Copyright (C) 2004-2021 Free Software Foundation, Inc.
@@ -51,8 +51,7 @@
(defcustom iimage-mode-image-search-path nil
"List of directories to search for image files for iimage-mode."
- :type '(choice (const nil) (repeat directory))
- :group 'iimage)
+ :type '(choice (const nil) (repeat directory)))
(defvar iimage-mode-image-filename-regex
(concat "[-+./_0-9a-zA-Z]+\\."
@@ -74,14 +73,12 @@ Examples of image filename patterns to match:
\\=`file://foo.png\\='
\\[\\[foo.gif]]
<foo.png>
- foo.JPG
-"
- :type '(alist :key-type regexp :value-type integer)
- :group 'iimage)
+ 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)
+ (define-key map "\C-l" #'iimage-recenter)
map)
"Keymap used in `iimage-mode'.")