Thread (1 message) 1 message, 1 author, 2016-06-15

Re: git-diff should not fire up $PAGER, period!

From: Junio C Hamano <hidden>
Date: 2016-06-15 22:45:49

Johannes Sixt [off-list ref] writes:
Miles Bader schrieb:
quoted
Just (setenv "PAGER" "cat") in .emacs.

[I actually have it set to /bin/cat, not sure if that's meaningful or not.]
No, really, you should set it to plain "cat": As a special case git
recognizes this token and does not run any pager. If you set it to
"/bin/cat" it does run a pager, namely /bin/cat.
But that would not hurt ;-).

On the other hand, using PAGER=cat or PAGER=/bin/cat is the right thing to
do in compilation and shell modes in Emacs, regardless of your use of git.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help