0

I'm using emacs-shell. I'm sick of typing various commands like man and git diff which use a pager without me telling it to. I think this is influencable by the shell and I want to turn it off so I can use emacs as the pager.

1

2 Answers 2

1

Emacs have already a man mode just M-x man and you can use magit git mode for emacs. there is a less implementation on emacswiki that can give you an idea for other pager based commands.

0

You can set the environment variable PAGER to cat:

 (setenv "PAGER" "cat")

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .