emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[nongnu] elpa/inf-ruby 2cb21b9f58 090/265: Make PAGER override unconditi


From: ELPA Syncer
Subject: [nongnu] elpa/inf-ruby 2cb21b9f58 090/265: Make PAGER override unconditional
Date: Sat, 9 Jul 2022 21:59:16 -0400 (EDT)

branch: elpa/inf-ruby
commit 2cb21b9f58f1513a92f334134881a288b5c16e41
Author: Dmitry Gutov <dgutov@yandex.ru>
Commit: Dmitry Gutov <dgutov@yandex.ru>

    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

[Prev in Thread] Current Thread [Next in Thread]