aerc/commands/account
Tim Culverhouse 7585a54832 split: prevent panic when store is not set
Prevent panic when split is called but the msgstore is either not
initialized or has no UIDs. This condition could be triggered by calling
:split or :vsplit immediately at startup.

Use the same logic as the :view command, which could operate in a
similar manner.

Signed-off-by: Tim Culverhouse <tim@timculverhouse.com>
Acked-by: Robin Jarry <robin@jarry.cc>
2022-10-19 23:52:39 +02:00
..
account.go lint: apply new formatting rules 2022-08-01 10:44:52 +02:00
cf.go lint: apply new formatting rules 2022-08-01 10:44:52 +02:00
check-mail.go commands: add check-mail command 2022-08-01 10:37:28 +02:00
clear.go lint: homogenize operations and minor fixes (gocritic) 2022-08-04 21:58:01 +02:00
compose.go invalidatable: cleanup dead code 2022-10-12 22:16:40 +02:00
connection.go statusline: implement per-account status 2022-03-18 23:42:07 +01:00
expand-folder.go commands: add expand-folder and collapse-folder 2022-02-23 21:09:01 +01:00
export-mbox.go lint: ensure errors are at least logged (errcheck) 2022-08-04 21:57:57 +02:00
import-mbox.go lint: homogenize operations and minor fixes (gocritic) 2022-08-04 21:58:01 +02:00
mkdir.go go.mod: change base git url 2021-11-05 10:21:45 +01:00
next-folder.go go.mod: change base git url 2021-11-05 10:21:45 +01:00
next-result.go invalidatable: cleanup dead code 2022-10-12 22:16:40 +02:00
next.go invalidatable: cleanup dead code 2022-10-12 22:16:40 +02:00
recover.go invalidatable: cleanup dead code 2022-10-12 22:16:40 +02:00
rmdir.go lint: homogenize operations and minor fixes (gocritic) 2022-08-04 21:58:01 +02:00
search.go invalidatable: cleanup dead code 2022-10-12 22:16:40 +02:00
select.go go.mod: change base git url 2021-11-05 10:21:45 +01:00
sort.go sort: show warning when sort is not supported 2022-07-26 22:22:58 +02:00
split.go split: prevent panic when store is not set 2022-10-19 23:52:39 +02:00
view.go view: add peek flag and propagate 2022-10-04 09:44:04 +02:00