Skip to content

Commit 5663656

Browse files
committed
diff-hl-stage-some: Ensure it works with diff-hl-update-async on
By disabling async inside it.
1 parent 52af816 commit 5663656

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

diff-hl.el

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -922,6 +922,7 @@ Pops up a diff buffer that can be edited to choose the changes to stage."
922922
(file buffer-file-name)
923923
(dest-buffer (get-buffer-create "*diff-hl-stage-some*"))
924924
(orig-buffer (current-buffer))
925+
(diff-hl-update-async nil)
925926
;; FIXME: If the file name has double quotes, these need to be quoted.
926927
(file-base (file-name-nondirectory file)))
927928
(with-current-buffer dest-buffer

0 commit comments

Comments
 (0)