tweak(org): remove redundant eldoc-mode activation

This commit is contained in:
Henrik Lissner 2022-06-17 15:31:07 +02:00
parent 2f7171bf8a
commit 59d3d8e8da
No known key found for this signature in database
GPG key ID: B60957CA074D39A3

View file

@ -1337,10 +1337,6 @@ compelling reason, so..."
#'+org-init-protocol-lazy-loader-h #'+org-init-protocol-lazy-loader-h
#'+org-init-smartparens-h) #'+org-init-smartparens-h)
;; (Re)activate eldoc-mode in org-mode a little later, because it disables
;; itself if started too soon (which is the case with `global-eldoc-mode').
(add-hook 'org-mode-local-vars-hook #'eldoc-mode)
;; In case the user has eagerly loaded org from their configs ;; In case the user has eagerly loaded org from their configs
(when (and (featurep 'org) (when (and (featurep 'org)
(not byte-compile-current-file)) (not byte-compile-current-file))