update if visible

This commit is contained in:
Jethro Kuan
2020-01-22 01:52:17 +08:00
parent d56f09b7fb
commit 11e395dacc

View File

@ -130,7 +130,7 @@ SLUG is the short file name, without a path or a file extension."
"Initialize org-roam."
(interactive)
(pcase (org-roam-current-visibility)
('visible nil)
('visible (org-roam-update))
('exists (org-roam-split))
('none (org-roam-split))))