branch: externals/diff-hl commit 244eb6b31ae5a8bc7aad66bd3b7cc25a6442a97e Author: Dmitry Gutov <dmi...@gutov.dev> Commit: Dmitry Gutov <dmi...@gutov.dev>
Use an explicit autoload form Mostly to quickly fix the CI, but it could benefit some who install from git too. --- diff-hl-margin.el | 1 - diff-hl.el | 2 ++ 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/diff-hl-margin.el b/diff-hl-margin.el index 0a39608d21..65ef337f75 100644 --- a/diff-hl-margin.el +++ b/diff-hl-margin.el @@ -147,7 +147,6 @@ You probably shouldn't use this function directly." ,(propertize char 'face (intern (format "diff-hl-margin-%s" type))))))))) -;;;###autoload (defun diff-hl-highlight-on-margin (ovl type _shape) (let ((spec (cdr (assoc (cons type diff-hl-side) (diff-hl-margin-spec-cache))))) diff --git a/diff-hl.el b/diff-hl.el index dfe8bbd9c2..39dd7201f3 100644 --- a/diff-hl.el +++ b/diff-hl.el @@ -506,6 +506,8 @@ It can be a relative expression as well, such as \"HEAD^\" with Git, or (funcall diff-hl-highlight-function o type shape) o)) +(autoload 'diff-hl-highlight-on-margin "diff-hl-margin") + (defun diff-hl-highlight-on-fringe (ovl type shape) (if (and diff-hl-fallback-to-margin (not (display-graphic-p)))