ruby-changes:72054
From: Nobuyoshi <ko1@a...>
Date: Sat, 4 Jun 2022 16:42:19 +0900 (JST)
Subject: [ruby-changes:72054] 323acd263a (master): [ruby/rdoc] Stop checking if pager command found
https://git.ruby-lang.org/ruby.git/commit/?id=323acd263a From 323acd263aff3cc29786a55d4604f240a9cbab46 Mon Sep 17 00:00:00 2001 From: Nobuyoshi Nakada <nobu@r...> Date: Sat, 4 Jun 2022 14:39:07 +0900 Subject: [ruby/rdoc] Stop checking if pager command found `IO.popen` does that job. https://github.com/ruby/rdoc/commit/3bbbc5ac84 --- lib/rdoc/ri/driver.rb | 4 ---- 1 file changed, 4 deletions(-) diff --git a/lib/rdoc/ri/driver.rb b/lib/rdoc/ri/driver.rb index 679cfd399c..f7a7d84205 100644 --- a/lib/rdoc/ri/driver.rb +++ b/lib/rdoc/ri/driver.rb @@ -1521,10 +1521,6 @@ or the PAGER environment variable. https://github.com/ruby/ruby/blob/trunk/lib/rdoc/ri/driver.rb#L1521 pagers.compact.uniq.each do |pager| next unless pager - pager_cmd = pager.split(' ').first - - next unless in_path? pager_cmd - if jruby then case io = find_pager_jruby(pager) when nil then break -- cgit v1.2.1 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/