diff options
author | Ralph Amissah <ralph@amissah.com> | 2013-06-22 01:13:46 -0400 |
---|---|---|
committer | Ralph Amissah <ralph@amissah.com> | 2013-06-22 01:13:49 -0400 |
commit | f31e286f4a73c5c0f355512b0cb45c6c82088516 (patch) | |
tree | fdf22b179aef9937e7f6a3e71fc6c1e7f0ff9119 /lib/sisu/v5/urls.rb | |
parent | vim, ftplugin sisu.vim, c-\ hard wrap lines to line width (moved from c-j) (diff) |
v5: general code cleaningsisu_4.1.5
* propagate back to v4 after testing
Diffstat (limited to 'lib/sisu/v5/urls.rb')
-rw-r--r-- | lib/sisu/v5/urls.rb | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/lib/sisu/v5/urls.rb b/lib/sisu/v5/urls.rb index 0a583f99..40bb90ed 100644 --- a/lib/sisu/v5/urls.rb +++ b/lib/sisu/v5/urls.rb @@ -236,8 +236,6 @@ module SiSU_Urls and opt.cmd =~/[abcehHmNoptwxXy]/ \ and x=~/^[#{opt.cmd}]/ \ and opt.cmd =~/[MV]/ - m=$1 - f=y tool=@prog.text_editor if x =~/^m/ \ and @opt.cmd=~/m/ \ @@ -247,7 +245,7 @@ module SiSU_Urls if x=~/^([hw])/ \ and @opt.cmd=~/[hw]/ \ and x=~/^[#{@opt.cmd}]/ \ - and x !~/segmented/; "#{y}.html" + and x !~/segmented/ SiSU_Screen::Ansi.new(@opt.cmd,"-#{x}","#{@prog.text_editor} #{@env.processing_path.tune}/#{@md.fns}.tune").maintenance end if x=~/^p/ \ @@ -417,7 +415,7 @@ module SiSU_Urls i="(output manifest) [#{@opt.f_pth[:lng_is]}] #{@env.url.output_tell}/#{@fnb}/sisu_manifest.html" SiSU_Screen::Ansi.new(@opt.cmd,'URLs',i).grey_title_hi @u.each do |x,y| - tell=case x + case x when /^m/ show.meta(x,y) when /^[BcdNsxXy]/ |