summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJérémy Compostella <jeremy.compostella@gmail.com>2015-02-15 16:11:33 +0100
committerMichael Albinus <michael.albinus@gmx.de>2015-02-15 16:11:33 +0100
commit9366f0547e6d5c1b3fe6c5d7c890e70ce232e6e9 (patch)
treee41b57e8a744d5cd9e34ba2f53ed7008286ba06d
parent432b00e6597f2a1eec192d807ad554a430f96f93 (diff)
downloademacs-9366f0547e6d5c1b3fe6c5d7c890e70ce232e6e9.tar.gz
Tramp: Disable paging with PAGER=cat
Fixes: debbugs:19870 * net/tramp-sh.el (tramp-remote-process-environment): Disable paging with PAGER=cat.
-rw-r--r--lisp/ChangeLog5
-rw-r--r--lisp/net/tramp-sh.el2
2 files changed, 6 insertions, 1 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index ef145390a24..6373df64e91 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,8 @@
+2015-02-15 Jérémy Compostella <jeremy.compostella@gmail.com>
+
+ * net/tramp-sh.el (tramp-remote-process-environment): Disable paging
+ with PAGER=cat. (Bug#19870)
+
2015-02-13 Glenn Morris <rgm@gnu.org>
* textmodes/flyspell.el (flyspell-duplicate-distance):
diff --git a/lisp/net/tramp-sh.el b/lisp/net/tramp-sh.el
index 8e65686e353..bd7aec98f79 100644
--- a/lisp/net/tramp-sh.el
+++ b/lisp/net/tramp-sh.el
@@ -457,7 +457,7 @@ as given in your `~/.profile'."
,(format "TERM=%s" tramp-terminal-type)
"EMACS=t" ;; Deprecated.
,(format "INSIDE_EMACS='%s,tramp:%s'" emacs-version tramp-version)
- "CDPATH=" "HISTORY=" "MAIL=" "MAILCHECK=" "MAILPATH=" "PAGER=\"\""
+ "CDPATH=" "HISTORY=" "MAIL=" "MAILCHECK=" "MAILPATH=" "PAGER=cat"
"autocorrect=" "correct=")
"List of environment variables to be set on the remote host.