File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -646,7 +646,7 @@ contents as they are (or would be) after applying the changes in NEW."
646646 ; ; TODO: debounce if a thread is already running.
647647 (let ((buf (current-buffer ))
648648 (temp-buffer
649- (if (< emacs-major-version 28 )
649+ (static- if (< emacs-major-version 28 )
650650 (generate-new-buffer " *temp*" )
651651 (generate-new-buffer " *temp*" t ))))
652652 ; ; Switch buffer temporarily, to "unlock" it for other threads.
@@ -1761,6 +1761,9 @@ effect."
17611761 (project-root proj)
17621762 (project-roots proj))))
17631763
1764+ ; ; Commands below will only work with recent enough project.el.
1765+ (declare-function project-name " project" )
1766+
17641767(defun diff-hl-set-reference-rev-in-project-internal (rev proj )
17651768 (let* ((root (diff-hl--project-root proj)))
17661769 ; ; newly opened files will share this value
You can’t perform that action at this time.
0 commit comments