General docstring+idempotency refactor
This commit is contained in:
parent
7c20a43be6
commit
2097498f3e
7 changed files with 35 additions and 25 deletions
|
@ -18,6 +18,8 @@
|
|||
|
||||
;;;###autoload
|
||||
(defun +org/browse-notes-for-major-mode ()
|
||||
"Browse org notes in `+org-code-notes-dir' in neotree, ido, ivy or helm --
|
||||
whichever is available."
|
||||
(interactive)
|
||||
(let ((dir (+org-mode-notes-dir)))
|
||||
(unless (file-in-directory-p dir +org-code-notes-dir)
|
||||
|
@ -28,5 +30,7 @@
|
|||
|
||||
;;;###autoload
|
||||
(defun +org/browse-notes-for-project ()
|
||||
"Browse org notes in `+org-project-notes-dir' in neotree, ido, ivy or helm --
|
||||
whichever is available."
|
||||
(interactive)
|
||||
(+org--explore-notes +org-project-notes-dir))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue