mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-01 12:17:25 -05:00
Fix backspace advice with multi-character sp pairs
This commit is contained in:
@ -135,7 +135,7 @@ possible, or just one char if that's not possible."
|
||||
(beg (plist-get pair :beg))
|
||||
(end (plist-get pair :end)))
|
||||
(cond ((and end beg (= end (+ beg (length op) (length cl))))
|
||||
(delete-char -1))
|
||||
(delete-char (- (length op))))
|
||||
((doom-surrounded-p pair 'inline 'balanced)
|
||||
(delete-char -1 killflag)
|
||||
(delete-char 1)
|
||||
|
Reference in New Issue
Block a user