summaryrefslogtreecommitdiffstats
path: root/quilt.quiltrc
diff options
context:
space:
mode:
Diffstat (limited to 'quilt.quiltrc')
-rw-r--r--quilt.quiltrc2
1 files changed, 1 insertions, 1 deletions
diff --git a/quilt.quiltrc b/quilt.quiltrc
index cd44500..ecc2ebf 100644
--- a/quilt.quiltrc
+++ b/quilt.quiltrc
@@ -20,7 +20,7 @@ QUILT_PATCHES_ARGS="--color=auto"
# When non-default less options are used, add the -R option so that less outputs
# ANSI color escape codes "raw".
-[ -n "$LESS" ] && QUILT_PAGER="less -R"
+[ -n "$LESS" -a -z "${QUILT_PAGER+x}" ] && QUILT_PAGER="less -R"
# (Add "-p ab" to QUILT_DIFF_ARGS and QUILT_REFRESH_ARGS to get
# -p1 style diffs with a/file and b/file filenams in headers