dot/bashrc: Versions of Emacs later than 22.x exist.
authorMark Wooding <mdw@distorted.org.uk>
Thu, 8 Jan 2015 14:04:41 +0000 (14:04 +0000)
committerMark Wooding <mdw@distorted.org.uk>
Thu, 8 Jan 2015 14:04:41 +0000 (14:04 +0000)
And have done for a while.  So notice them when deciding whether to
clobber $PAGER.

dot/bashrc

index 1b6d7af..6337ca6 100644 (file)
@@ -157,7 +157,7 @@ alias zgrep="greplike zgrep"
 
 ## Turn off pagers inside Emacs shell buffers.
 case "$INSIDE_EMACS" in
-  22.*,comint) export PAGER=cat ;;
+  2[2-9].*,comint | [3-9][0-9].*,comint) export PAGER=cat ;;
 esac
 
 ###--------------------------------------------------------------------------