]> git.neil.brown.name Git - edlib.git/commit
Introduce closed_ok flag on commands.
authorNeilBrown <neil@brown.name>
Wed, 13 Sep 2023 22:32:17 +0000 (08:32 +1000)
committerNeilBrown <neil@brown.name>
Fri, 15 Sep 2023 03:03:12 +0000 (13:03 +1000)
commitfe509bd687080aa9ee10a58a4cf06a2485e74dfd
tree707a057dfbef9092d10804b09d55c92d3b003fcd
parentf809d205122cf2920a61a694e710922c2facbe8c
Introduce closed_ok flag on commands.

If closed_ok is set, then it is safe to call the command even if ->home
is DAMAGED_CLOSED.  This will eventually replace checks on "Close".
For now it allows doc_pass_on to pass commands on to the doc even
when the display stack is shutting down.  notmuch needs this to ask
the query doc to refresh when a view is closed.

Signed-off-by: NeilBrown <neil@brown.name>
core-doc.c
core-keymap.c
core-pane.h
core.h
lang-python.c