branch: master
commit 8d313db758db8484a7ab487aa9a92b654f204344
Author: Dmitry Gutov <[email protected]>
Commit: Dmitry Gutov <[email protected]>
Use --strip-trailing-cr
#50
---
diff-hl-flydiff.el | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/diff-hl-flydiff.el b/diff-hl-flydiff.el
index 02169cc..b89401d 100644
--- a/diff-hl-flydiff.el
+++ b/diff-hl-flydiff.el
@@ -122,7 +122,7 @@ This requires the external program `diff' to be in your
`exec-path'."
temporary-file-directory))
(rev (diff-hl-flydiff-create-revision file
(diff-hl-flydiff/working-revision file))))
- (diff-no-select rev (current-buffer) "-U 0" 'noasync
+ (diff-no-select rev (current-buffer) "-U 0 --strip-trailing-cr" 'noasync
(get-buffer-create " *diff-hl-diff*")))))
(defun diff-hl-flydiff/update (old-fun &optional auto)