config/literate: don't add save hook more than once
Hinders the user's ability to disable tangle-on-save behavior.
This commit is contained in:
parent
5a4823500a
commit
a8b7c00426
1 changed files with 1 additions and 3 deletions
|
@ -12,6 +12,7 @@ byte-compiled from.")
|
|||
(defvar org-mode-hook)
|
||||
(defvar org-inhibit-startup)
|
||||
|
||||
;;;###autoload (add-hook 'org-mode-hook #'+literate-enable-recompile-h)
|
||||
|
||||
;;;###autoload
|
||||
(defun +literate-tangle-h ()
|
||||
|
@ -75,9 +76,6 @@ byte-compiled from.")
|
|||
(doom-cli-execute-lines-after "__NOTANGLE=1 $@")
|
||||
(kill-emacs 0))))))
|
||||
|
||||
;;;###autoload
|
||||
(add-hook 'org-mode-hook #'+literate-enable-recompile-h)
|
||||
|
||||
;;;###autoload
|
||||
(defalias '+literate/reload #'doom/reload)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue