branch: elpa/diff-ansi
commit 5ccda5fb89d89f1b14277d25c606fc7c8ff0c3a0
Author: Campbell Barton <[email protected]>
Commit: Campbell Barton <[email protected]>
delta: set --pager=never
Ensure a pager is never used since it makes no sense when
the output is piped.
I ran into this while debugging unrelated changes, so while
this shouldn't occur for typical usage, it's safe to force-disable
paging.
---
diff-ansi.el | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/diff-ansi.el b/diff-ansi.el
index ffee8b422f..1c8804c9be 100644
--- a/diff-ansi.el
+++ b/diff-ansi.el
@@ -71,7 +71,7 @@ This must take the diff content as the `standard-input'."
;; Extra arguments for command presets.
(defcustom diff-ansi-extra-args-for-delta
- (list "--side-by-side" "--no-gitconfig" "--true-color=always")
+ (list "--side-by-side" "--no-gitconfig" "--true-color=always"
"--paging=never")
"Additional arguments to pass to `delta'."
:type '(repeat string))