mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-03 12:27:26 -05:00
sp--looking-back-p => looking-back (former causes warnings)
This commit is contained in:
@ -69,7 +69,7 @@ possible, or just one char if that's not possible."
|
|||||||
(delete-char close-len))
|
(delete-char close-len))
|
||||||
;; Delete up to the nearest tab column IF only whitespace between
|
;; Delete up to the nearest tab column IF only whitespace between
|
||||||
;; point and bol.
|
;; point and bol.
|
||||||
((sp--looking-back-p "^[\\t ]*" (line-beginning-position))
|
((save-match-data (looking-back "^[\\t ]*" (line-beginning-position)))
|
||||||
(let ((movement (% (current-column) tab-width))
|
(let ((movement (% (current-column) tab-width))
|
||||||
(p (point)))
|
(p (point)))
|
||||||
(when (= movement 0)
|
(when (= movement 0)
|
||||||
|
Reference in New Issue
Block a user