]> git.eshelyaron.com Git - emacs.git/commit
Support 'comint-pager' in Eshell
authorJim Porter <jporterbugs@gmail.com>
Wed, 23 Aug 2023 20:29:19 +0000 (13:29 -0700)
committerJim Porter <jporterbugs@gmail.com>
Wed, 23 Aug 2023 23:46:25 +0000 (16:46 -0700)
commit08901e93797cd9e338883ab6153d98f15bc2ccfb
treea43bec9652052bd4c6551f1f2551f9666ef0f7b4
parentcb3731361f0cf4222d39aedcfc5188f0063ebc5e
Support 'comint-pager' in Eshell

* lisp/eshell/esh-var.el (eshell-variable-aliases-list): Add "PAGER".
(eshell-var-initialize): Make 'comint-pager' buffer-local and bind it
in subcommands so that we can temporarily set it as necessary.

* test/lisp/eshell/esh-var-tests.el (esh-var-test/pager-var/default)
(esh-var-test/pager-var/set, esh-var-test/pager-var/unset)
(esh-var-test/pager-var/set-locally): New tests.

* doc/misc/eshell.texi (Variables): Document this (bug#63778).

Co-authored-by: Morgan Smith <Morgan.J.Smith@outlook.com>
doc/misc/eshell.texi
lisp/eshell/esh-var.el
test/lisp/eshell/esh-var-tests.el