Skip to content

Commit 244eb6b

Browse files
committed
Use an explicit autoload form
Mostly to quickly fix the CI, but it could benefit some who install from git too.
1 parent 354171f commit 244eb6b

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

diff-hl-margin.el

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,6 @@ You probably shouldn't use this function directly."
147147
,(propertize char 'face
148148
(intern (format "diff-hl-margin-%s" type)))))))))
149149

150-
;;;###autoload
151150
(defun diff-hl-highlight-on-margin (ovl type _shape)
152151
(let ((spec (cdr (assoc (cons type diff-hl-side)
153152
(diff-hl-margin-spec-cache)))))

diff-hl.el

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -506,6 +506,8 @@ It can be a relative expression as well, such as \"HEAD^\" with Git, or
506506
(funcall diff-hl-highlight-function o type shape)
507507
o))
508508

509+
(autoload 'diff-hl-highlight-on-margin "diff-hl-margin")
510+
509511
(defun diff-hl-highlight-on-fringe (ovl type shape)
510512
(if (and diff-hl-fallback-to-margin
511513
(not (display-graphic-p)))

0 commit comments

Comments
 (0)