Move newline-and-indent advice outside of after! smartparens

Makes it easier to disable.
This commit is contained in:
Henrik Lissner
2019-07-08 21:36:43 +02:00
parent df56ea5c60
commit c14a4c8818

View File

@ -137,10 +137,10 @@
;; e) properly delete smartparen pairs when they are encountered, without
;; the need for strict mode.
;; f) do none of this when inside a string
(advice-add #'delete-backward-char :override #'+default*delete-backward-char)
(advice-add #'delete-backward-char :override #'+default*delete-backward-char))
;; Makes `newline-and-indent' continue comments (and more reliably)
(advice-add #'newline-and-indent :override #'+default*newline-indent-and-continue-comments)))
;; Makes `newline-and-indent' continue comments (and more reliably)
(advice-add #'newline-and-indent :override #'+default*newline-indent-and-continue-comments))
;;