branch: elpa/inf-ruby
commit 2cb21b9f58f1513a92f334134881a288b5c16e41
Author: Dmitry Gutov <[email protected]>
Commit: Dmitry Gutov <[email protected]>

    Make PAGER override unconditional
    
    dgutov/robe#9
---
 inf-ruby.el | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/inf-ruby.el b/inf-ruby.el
index dbbfc06fc4..af5ac02d3b 100755
--- a/inf-ruby.el
+++ b/inf-ruby.el
@@ -275,8 +275,7 @@ of `ruby-program-name').  Runs the hooks 
`inferior-ruby-mode-hook'
       (let ((commandlist (split-string-and-unquote command))
             (process-environment process-environment))
         ;; http://debbugs.gnu.org/15775
-        (unless (getenv "PAGER")
-          (setenv "PAGER" (executable-find "cat")))
+        (setenv "PAGER" (executable-find "cat"))
         (set-buffer (apply 'make-comint name (car commandlist)
                            nil (cdr commandlist)))
         (inf-ruby-mode)))

Reply via email to