Fix #3110: wrong-number-of-args on backspace

Due to a regression in 82ddc8633.
This commit is contained in:
Henrik Lissner 2020-05-12 22:40:07 -04:00
parent a63ee13f01
commit a7c2cbab90
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395

View file

@ -225,7 +225,7 @@
;; d) properly delete smartparen pairs when they are encountered, without the ;; d) properly delete smartparen pairs when they are encountered, without the
;; need for strict mode. ;; need for strict mode.
;; e) do none of this when inside a string ;; e) do none of this when inside a string
(advice-add #'delete-backward-char :override #'doom/backward-delete-whitespace-to-column) (advice-add #'delete-backward-char :override #'+default--delete-backward-char-a)
;; HACK Makes `newline-and-indent' continue comments (and more reliably). ;; HACK Makes `newline-and-indent' continue comments (and more reliably).
;; Consults `doom-point-in-comment-functions' to detect a commented region ;; Consults `doom-point-in-comment-functions' to detect a commented region