mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-01 12:17:25 -05:00
Fix #3110: wrong-number-of-args on backspace
Due to a regression in 82ddc8633
.
This commit is contained in:
@ -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
|
||||||
|
Reference in New Issue
Block a user