Skip to content

Commit

Permalink
clean
Browse files Browse the repository at this point in the history
  • Loading branch information
junjiemars committed Aug 25, 2024
1 parent 29fdb17 commit 1e7f838
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions config/mill.el
Original file line number Diff line number Diff line change
Expand Up @@ -59,10 +59,10 @@
If prefix BOUNDARY is non-nil, then mark the whole string."
(interactive "P")
(let ((bs (_mark_string@_)))
(unless bs
(user-error "%s" "No string found"))
(_mark_thing_ (if boundary (car bs) (1+ (car bs)))
(if boundary (cdr bs) (1- (cdr bs))))))
(unless bs
(user-error "%s" "No string found"))
(_mark_thing_ (if boundary (car bs) (1+ (car bs)))
(if boundary (cdr bs) (1- (cdr bs))))))


(defun kill-string@ (&optional boundary)
Expand All @@ -73,7 +73,7 @@ If prefix BOUNDARY is non-nil, then kill the whole string."
(unless bs
(user-error "%s" "No string found"))
(kill-region (if boundary (car bs) (1+ (car bs)))
(if boundary (cdr bs) (1- (cdr bs))))))
(if boundary (cdr bs) (1- (cdr bs))))))

;; end of `mark-string@'

Expand Down

0 comments on commit 1e7f838

Please sign in to comment.