Skip to content

Commit

Permalink
doc: add a comment
Browse files Browse the repository at this point in the history
  • Loading branch information
AmaiKinono committed Oct 7, 2024
1 parent 85e3c36 commit f4c99fb
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions puni.el
Original file line number Diff line number Diff line change
Expand Up @@ -1587,6 +1587,8 @@ This respects the variable `delete-active-region'."
(if (< n 0) (puni-forward-delete-char (- n))
(dotimes (_ n)
(or
;; This branch will throw an error at the beginning of the buffer
;; (by `backward-char'), so we don't have to check it later.
(puni-soft-delete-by-move #'backward-char)
;; Try to delete a dangling delimiter. We want to handle this
;; before the empty sexp case (see below), since if there's a
Expand Down

0 comments on commit f4c99fb

Please sign in to comment.