Skip to content

Commit f86322b

Browse files
committed
Move the smartrep-define-key declaration, as suggested by @monnier
1 parent 11244fb commit f86322b

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

diff-hl.el

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,8 +69,7 @@
6969
(require 'vc-git)
7070
(require 'vc-hg)
7171
(require 'face-remap)
72-
(require 'project)
73-
(declare-function smartrep-define-key 'smartrep))
72+
(require 'project))
7473

7574
(defmacro static-if (condition then-form &rest else-forms) ; since Emacs 30.1
7675
"A conditional compilation macro.
@@ -1336,6 +1335,7 @@ The value of this variable is a mode line template as in
13361335
diff-hl-show-hunk-next))
13371336

13381337
(when (require 'smartrep nil t)
1338+
(declare-function smartrep-define-key 'smartrep)
13391339
(let (smart-keys)
13401340
(cl-labels ((scan (map)
13411341
(map-keymap

0 commit comments

Comments
 (0)