config/doom/config: fix docstrings
This commit is contained in:
parent
adea6f4b5a
commit
61a5c75fb9
|
@ -372,9 +372,9 @@ Version 2019-11-04 2021-02-16"
|
||||||
:config
|
:config
|
||||||
(defvar my/survey-mode-journal--timer nil)
|
(defvar my/survey-mode-journal--timer nil)
|
||||||
(defvar my/survey-mode-journal--timer-interval 300)
|
(defvar my/survey-mode-journal--timer-interval 300)
|
||||||
|
|
||||||
(define-minor-mode my/survey-mode
|
(define-minor-mode my/survey-mode
|
||||||
"Toggle automatic `org-roam-db-sync' when Emacs is idle.
|
"New org-journal entry after long idleness"
|
||||||
Referece: `auto-save-visited-mode'"
|
|
||||||
:group 'org-roam
|
:group 'org-roam
|
||||||
:global t
|
:global t
|
||||||
(when my/survey-mode-journal--timer (cancel-timer my/survey-mode-journal--timer))
|
(when my/survey-mode-journal--timer (cancel-timer my/survey-mode-journal--timer))
|
||||||
|
@ -385,7 +385,7 @@ Version 2019-11-04 2021-02-16"
|
||||||
#'my/journal-survey))))
|
#'my/journal-survey))))
|
||||||
|
|
||||||
(defun my/journal-survey ()
|
(defun my/journal-survey ()
|
||||||
"Update org-roam database and sync ids to org if in org-mode"
|
"Open a new journal entry"
|
||||||
(interactive)
|
(interactive)
|
||||||
(unless (equal major-mode 'org-journal-mode) (call-interactively 'org-journal-new-entry)))
|
(unless (equal major-mode 'org-journal-mode) (call-interactively 'org-journal-new-entry)))
|
||||||
|
|
||||||
|
@ -422,7 +422,7 @@ Version 2019-11-04 2021-02-16"
|
||||||
(defvar my/auto-org-roam-db-sync--timer-interval 30)
|
(defvar my/auto-org-roam-db-sync--timer-interval 30)
|
||||||
(define-minor-mode my/auto-org-roam-db-sync-mode
|
(define-minor-mode my/auto-org-roam-db-sync-mode
|
||||||
"Toggle automatic `org-roam-db-sync' when Emacs is idle.
|
"Toggle automatic `org-roam-db-sync' when Emacs is idle.
|
||||||
Referece: `auto-save-visited-mode'"
|
Reference: `auto-save-visited-mode'"
|
||||||
:group 'org-roam
|
:group 'org-roam
|
||||||
:global t
|
:global t
|
||||||
(when my/auto-org-roam-db-sync--timer (cancel-timer my/auto-org-roam-db-sync--timer))
|
(when my/auto-org-roam-db-sync--timer (cancel-timer my/auto-org-roam-db-sync--timer))
|
||||||
|
|
Loading…
Reference in New Issue