mirror of
https://github.com/foo-dogsquared/dotfiles.git
synced 2025-01-30 22:57:54 +00:00
emacs: update wiki Doom module
This commit is contained in:
parent
b9b0532e6d
commit
9bd879c61a
@ -58,11 +58,6 @@ folder with its buffer filename."
|
|||||||
;; Overriding some of the options. Unfortunately, some of them have to be
|
;; Overriding some of the options. Unfortunately, some of them have to be
|
||||||
;; overridden after org-roam has been loaded.
|
;; overridden after org-roam has been loaded.
|
||||||
(with-eval-after-load "org-roam"
|
(with-eval-after-load "org-roam"
|
||||||
(setq org-roam-node-display-template
|
|
||||||
(format "${doom-hierarchy:*} %s %s"
|
|
||||||
(propertize "${doom-tags:15}" 'face 'org-tag)
|
|
||||||
(propertize "${file:60}" 'face 'font-lock-default-face)))
|
|
||||||
|
|
||||||
(cl-defmethod org-roam-node-slug :around ((node org-roam-node))
|
(cl-defmethod org-roam-node-slug :around ((node org-roam-node))
|
||||||
(string-replace "_" "-" (cl-call-next-method))))
|
(string-replace "_" "-" (cl-call-next-method))))
|
||||||
|
|
||||||
@ -88,10 +83,6 @@ folder with its buffer filename."
|
|||||||
org-startup-with-inline-images t
|
org-startup-with-inline-images t
|
||||||
image-use-external-converter t)
|
image-use-external-converter t)
|
||||||
|
|
||||||
;; Add extra org-modules for our default Org-mode workflow.
|
|
||||||
(add-to-list 'org-modules 'org-habit)
|
|
||||||
(add-to-list 'org-modules 'org-checklist)
|
|
||||||
|
|
||||||
;; Automate updating timestamps on save.
|
;; Automate updating timestamps on save.
|
||||||
(add-hook! 'before-save-hook 'time-stamp))
|
(add-hook! 'before-save-hook 'time-stamp))
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user