fix(org-modern): with-eval-after-load -- bypass Doom lazy-load, 100% spolehlivy
This commit is contained in:
14
config.el
14
config.el
@@ -1135,18 +1135,14 @@ Otherwise: runs interactive ement-connect, then opens rooms after sync."
|
||||
;;; ORG-MODERN
|
||||
;;; ============================================================
|
||||
|
||||
;; :after org + :demand t -- nacist ihned po nacteni org, bez odkladani.
|
||||
;; POUZE global-org-modern-mode, zadny :hook -- kombinace by volala
|
||||
;; org-modern-mode dvakrat (toggle = vypnout).
|
||||
;; org-modern-table nil -- tabulkove overlaye mohou kolidovat s LaTeX exportem.
|
||||
(use-package! org-modern
|
||||
:after org
|
||||
:demand t
|
||||
:config
|
||||
;; with-eval-after-load: spolehlive spusti az po nacteni org, bez Doom lazy-load
|
||||
;; komplexnosti. require s nil t = bez chyby pokud balicek chybi.
|
||||
(with-eval-after-load 'org
|
||||
(when (require 'org-modern nil t)
|
||||
(setq org-modern-star '("◉" "○" "✸" "✿")
|
||||
org-modern-table nil
|
||||
org-modern-checkbox t)
|
||||
(global-org-modern-mode))
|
||||
(global-org-modern-mode)))
|
||||
|
||||
|
||||
;;; ============================================================
|
||||
|
||||
Reference in New Issue
Block a user