--- rxvt-unicode/src/perl/selection-popup 2006/01/19 16:22:13 1.15 +++ rxvt-unicode/src/perl/selection-popup 2006/01/19 21:03:34 1.16 @@ -56,8 +56,11 @@ }; for ($text) { - $add_button->("rot13" => sub { y/A-Za-z/N-ZA-Mn-za-m/ }); - $add_button->("eval perl expression" => sub { no warnings; $_ = eval $_ }); + /./ + and $add_button->("rot13" => sub { y/A-Za-z/N-ZA-Mn-za-m/ }); + + /./ + and $add_button->("eval perl expression" => sub { no warnings; $_ = eval $_ }); /^(\S+):(\d+):?$/ and $add_button->("vi-commands to load '$1'" => sub { s/^(\S+):(\d+):?$/\x1b:e $1\x0d:$2\x0d/ });