mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-23 14:03:44 -05:00
lang/org: refactor org init process
after! org is more reliable than org-load-hook.
This commit is contained in:
@@ -3,8 +3,6 @@
|
||||
(defvar +org-present-text-scale 7
|
||||
"The `text-scale-amount' for `org-tree-slide-mode'.")
|
||||
|
||||
(add-hook 'org-load-hook #'+org-present|init)
|
||||
|
||||
|
||||
;;
|
||||
;; Plugins
|
||||
@@ -45,7 +43,7 @@
|
||||
;; Bootstrap
|
||||
;;
|
||||
|
||||
(defun +org-present|init ()
|
||||
(after! org
|
||||
(require 'ox-reveal)
|
||||
(map! :map org-mode-map "<f8>" #'+org-present/start))
|
||||
|
||||
|
Reference in New Issue
Block a user