Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[feature] add a restore function to org-brain-visualize-mode (#345)
* [feature] add a restore function to org-brain-visualize-mode Like how user calls "Info" mode, if there is no `org-brain-visualize' buffer exists, then everything is the same as before. If there is *org-brain* buffer exists, switch to *org-brain*. This feature is helpful for users who need constantly switch between the Org-brain and the working documents. The `quit' message can be further improved by using a better-quitting strategy. However, the function right now can achieve this feature. It is unclear what side effects will bring to the current packages. Careful review should be taken. * [mis] indentation * [clean up] * [clean up] * [internal] change function name * [internal] simplify checking exisence of *org-brain* buffer * [internal] using `when` instead of `if` since there is no else clause * [internal] no need for `progn` * [feature] add `org-brain-visualize-dwim' for easy access
- Loading branch information