Disable slow smartparens-org defaults in org-mode

But keep its base defaults.

Relevant to #452
This commit is contained in:
Henrik Lissner 2020-05-13 22:48:42 -04:00
parent 06b3439627
commit 558ea08411
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395

View file

@ -766,6 +766,11 @@ compelling reason, so..."
)
(defun +org-init-smartparens-h ()
;; Disable the slow defaults
(provide 'smartparens-org))
;;
;;; Packages
@ -999,7 +1004,8 @@ compelling reason, so..."
#'+org-init-keybinds-h
#'+org-init-popup-rules-h
#'+org-init-protocol-h
#'+org-init-protocol-lazy-loader-h)
#'+org-init-protocol-lazy-loader-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').