mirror of
https://github.com/org-roam/org-roam
synced 2025-08-03 12:27:23 -05:00
(fix)buffer: buffer-toggle: don't destroy window if org-roam-node-toggle
reuses window (#2082)
* (fix)buffer: buffer-toggle: don't destroy buffer if reused Closes #2077 * add changelog
This commit is contained in:
@ -19,6 +19,7 @@
|
|||||||
|
|
||||||
### Removed
|
### Removed
|
||||||
### Fixed
|
### Fixed
|
||||||
|
- [#2082](https://github.com/org-roam/org-roam/pull/2082) buffer: don't destroy window if `org-roam-node-toggle` reuses window
|
||||||
- [#2080](https://github.com/org-roam/org-roam/pull/2080) dailies: prevent multiple "dailies/" subdir expansions
|
- [#2080](https://github.com/org-roam/org-roam/pull/2080) dailies: prevent multiple "dailies/" subdir expansions
|
||||||
- [#2055](https://github.com/org-roam/org-roam/pull/2055) dailies: removed stray f require, which was causing require and compilation errors
|
- [#2055](https://github.com/org-roam/org-roam/pull/2055) dailies: removed stray f require, which was causing require and compilation errors
|
||||||
### Changed
|
### Changed
|
||||||
|
@ -289,7 +289,7 @@ To toggle its display use `org-roam-buffer-toggle' command.")
|
|||||||
(pcase (org-roam-buffer--visibility)
|
(pcase (org-roam-buffer--visibility)
|
||||||
('visible
|
('visible
|
||||||
(progn
|
(progn
|
||||||
(delete-window (get-buffer-window org-roam-buffer))
|
(quit-window nil (get-buffer-window org-roam-buffer))
|
||||||
(remove-hook 'post-command-hook #'org-roam-buffer--redisplay-h)))
|
(remove-hook 'post-command-hook #'org-roam-buffer--redisplay-h)))
|
||||||
((or 'exists 'none)
|
((or 'exists 'none)
|
||||||
(progn
|
(progn
|
||||||
|
Reference in New Issue
Block a user