"PAGER=\"\"" sets PAGER to the string "\"\"" which means the variable
is set and the program that use the PAGER environment variable tries
to run a command named "\"\"" and fail, like git for instance.
However, if we unset the variable ("PAGER=") then the pager is
undefined and most of the program will fallback to their default
behavior : the use of the less or more command.To really disable paging we have to set PAGER to the cat command. Signed-off-by: Jeremy Compostella <[email protected]> --- lisp/tramp-sh.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lisp/tramp-sh.el b/lisp/tramp-sh.el index efcf554..af4ac80 100644 --- a/lisp/tramp-sh.el +++ b/lisp/tramp-sh.el @@ -475,7 +475,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. -- 1.9.1 _______________________________________________ Tramp-devel mailing list [email protected] https://lists.gnu.org/mailman/listinfo/tramp-devel
