branch: externals/diff-hl
commit 5c65ada78b88c61f353a5f936d2ceed11ab2bad4
Author: Dmitry Gutov <[email protected]>
Commit: Dmitry Gutov <[email protected]>
Fix one warning
---
diff-hl.el | 3 +++
1 file changed, 3 insertions(+)
diff --git a/diff-hl.el b/diff-hl.el
index 8b1000f..1cb7002 100644
--- a/diff-hl.el
+++ b/diff-hl.el
@@ -771,11 +771,14 @@ the user should be returned."
(vc-call-backend (or backend (vc-backend file))
'working-revision file)))
+(declare-function diff-no-select "diff")
+
(defun diff-hl-diff-buffer-with-head (file &optional dest-buffer backend)
"Compute the differences between FILE and its associated file
in head revision. The diffs are computed in the buffer
DEST-BUFFER. This requires the external program `diff' to be in
your `exec-path'."
+ (require 'diff)
(vc-ensure-vc-buffer)
(save-current-buffer
(let* ((dest-buffer (or dest-buffer "*diff-hl-diff-bufer-with-head*"))