Minor refactors across the board
This commit is contained in:
parent
684e69c968
commit
2bf74158fd
5 changed files with 7 additions and 11 deletions
|
@ -57,9 +57,8 @@ you're done. This can be called from an external shell script."
|
|||
(org-capture)
|
||||
(unwind-protect
|
||||
(counsel-org-capture)
|
||||
(if-let* ((buf (cl-loop for buf in (buffer-list)
|
||||
if (buffer-local-value 'org-capture-mode buf)
|
||||
return buf)))
|
||||
(if-let (buf (cl-find-if (doom-partial #'buffer-local-value 'org-capture-mode)
|
||||
(buffer-list)))
|
||||
(with-current-buffer buf
|
||||
(add-hook 'kill-buffer-hook #'+org-capture-cleanup-frame-h nil t))
|
||||
(delete-frame frame))))))
|
||||
|
|
|
@ -53,10 +53,8 @@
|
|||
:recipe (:host github :repo "anler/centered-window-mode"))
|
||||
(package! org-tree-slide)
|
||||
(package! org-re-reveal))
|
||||
|
||||
(when (featurep! +journal)
|
||||
(package! org-journal))
|
||||
|
||||
(when (featurep! +hugo)
|
||||
(package! ox-hugo
|
||||
:recipe (:host github :repo "kaushalmodi/ox-hugo" :nonrecursive t)))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue