about summary refs log tree commit homepage
diff options
context:
space:
mode:
authorEric Wong <e@80x24.org>2021-02-25 22:41:37 -1100
committerEric Wong <e@80x24.org>2021-02-26 16:50:49 -0400
commit5d31cff1f1b3d59e4c2be534183aeda3725a7649 (patch)
tree09e41f0bc781049f74207c434ad84b2d5b254b1c
parent232f8e376fe2856c8d34092e33a2c0750734c285 (diff)
downloadpublic-inbox-5d31cff1f1b3d59e4c2be534183aeda3725a7649.tar.gz
We want /^sub oldset/ to match to keep editors and
things like ctags happy.
-rw-r--r--lib/PublicInbox/LEI.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/PublicInbox/LEI.pm b/lib/PublicInbox/LEI.pm
index 8825fa43..5cdaabc6 100644
--- a/lib/PublicInbox/LEI.pm
+++ b/lib/PublicInbox/LEI.pm
@@ -27,7 +27,7 @@ use Time::HiRes qw(stat); # ctime comparisons for config cache
 use File::Path qw(mkpath);
 use File::Spec;
 our $quit = \&CORE::exit;
-our ($current_lei, $errors_log, $listener);
+our ($current_lei, $errors_log, $listener, $oldset);
 my ($recv_cmd, $send_cmd);
 my $GLP = Getopt::Long::Parser->new;
 $GLP->configure(qw(gnu_getopt no_ignore_case auto_abbrev));
@@ -976,7 +976,7 @@ sub event_step_init {
 
 sub noop {}
 
-our $oldset; sub oldset { $oldset }
+sub oldset { $oldset }
 
 sub dump_and_clear_log {
         if (defined($errors_log) && -s STDIN && seek(STDIN, 0, SEEK_SET)) {