Open
Description
We should probably add an assertion to almost every function that checks the function is called in the right context (i.e. the right kind of buffer and window is active, and Sunrise is in the right state).
The state information should be computed afresh at the start of each interactive command, and cached in a global variable that is dynamically bound via let
for the duration of the command. We should probably wrap this into a macro:
(sunrise--in-directory-window
...do stuff...)
(sunrise--in-viewer-window
...do stuff...)
Could also have
Metadata
Metadata
Assignees
Labels
No labels