[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/diff-ansi 5ccda5fb89 1/2: delta: set --pager=never
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/diff-ansi 5ccda5fb89 1/2: delta: set --pager=never |
Date: |
Wed, 20 Dec 2023 21:59:11 -0500 (EST) |
branch: elpa/diff-ansi
commit 5ccda5fb89d89f1b14277d25c606fc7c8ff0c3a0
Author: Campbell Barton <ideasman42@gmail.com>
Commit: Campbell Barton <ideasman42@gmail.com>
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))