aboutsummaryrefslogtreecommitdiffstats
path: root/java
diff options
context:
space:
mode:
authorSpencer Baugh2023-04-19 17:44:54 -0400
committerEli Zaretskii2023-05-26 14:29:52 +0300
commit54ac1165bc3f6012201689b7f23d7edba2926f6d (patch)
tree8e76c90f6724d133628eda88120dc4bc45f1ccf6 /java
parente78318ad2e660571100e83bf8c3550d9e3292eab (diff)
downloademacs-54ac1165bc3f6012201689b7f23d7edba2926f6d.tar.gz
emacs-54ac1165bc3f6012201689b7f23d7edba2926f6d.zip
Support setting PAGER=cat in comint.el (bug#62958)
Paging can be undesirable in comint-derived commands such as async-shell-command and M-x shell. It is a frequent footgun for new Emacs users when they try to run commands which start a pager in such modes. Simply adding (setenv "PAGER" "cat") globally is not correct, since that will break modes like term, which support paging quite well. It's only and exactly the comint-derived modes which don't need paging. * lisp/comint.el (comint-pager): Add. (bug#62958) (comint-exec-1): Use comint-pager to set PAGER.
Diffstat (limited to 'java')
0 files changed, 0 insertions, 0 deletions