From 1e51bc86dcdc25363575f6e9b35d954c65dec795 Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Fri, 16 Apr 2021 16:10:34 -0700 Subject: lei q --save: avoid lei.q.format It is redundant since we stuff everything into the lei.q.output config key. --- lib/PublicInbox/LeiSavedSearch.pm | 2 -- 1 file changed, 2 deletions(-) (limited to 'lib/PublicInbox/LeiSavedSearch.pm') diff --git a/lib/PublicInbox/LeiSavedSearch.pm b/lib/PublicInbox/LeiSavedSearch.pm index 93b1b23a..a8bf470b 100644 --- a/lib/PublicInbox/LeiSavedSearch.pm +++ b/lib/PublicInbox/LeiSavedSearch.pm @@ -51,8 +51,6 @@ sub new { } else { cfg_set($self, 'lei.q', $q); } - my $fmt = $lei->{opt}->{'format'}; - cfg_set($self, 'lei.q.format', $fmt) if defined $fmt; $dst = "$lei->{ovv}->{fmt}:$dst" if $dst !~ m!\Aimaps?://!i; cfg_set($self, 'lei.q.output', $dst); for my $k (qw(only include exclude)) { -- cgit v1.2.3-24-ge0c7