[Emacs] Use less for pager when no server found

This commit is contained in:
Ivan Malison 2018-06-14 16:01:35 -07:00
parent 41bea05224
commit f966f44b3c
No known key found for this signature in database
GPG Key ID: 62530EFBE99DC2F8

View File

@ -1,6 +1,6 @@
#!/usr/bin/env zsh
if environment_variable_exists INSIDE_EMACS; then
emacs_pager "$@"
emacs_pager -a less "$@"
else
less -FXr
fi