Skip to content

Commit

Permalink
Merge pull request #1169 from ROCKTAKEY/fix-kill-ring-bug-on-deletion
Browse files Browse the repository at this point in the history
`kill-ring` should not be `let-bind`ed to `kill-ring` itself on `sp(-backward)?-delete-symbol`
  • Loading branch information
Fuco1 authored Oct 20, 2023
2 parents 9b02ee1 + 273f730 commit dd22a3e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions smartparens.el
Original file line number Diff line number Diff line change
Expand Up @@ -9122,7 +9122,7 @@ backward direction.

See `sp-forward-symbol' for what constitutes a symbol."
(interactive "*p")
(let* ((kill-ring kill-ring)
(let* ((kill-ring nil)
(select-enable-clipboard nil))
(sp-kill-symbol arg word)))

Expand Down Expand Up @@ -9199,7 +9199,7 @@ forward direction.

See `sp-backward-symbol' for what constitutes a symbol."
(interactive "*p")
(let* ((kill-ring kill-ring)
(let* ((kill-ring nil)
(select-enable-clipboard nil))
(sp-backward-kill-symbol arg word)))

Expand Down

0 comments on commit dd22a3e

Please sign in to comment.