Fuco1 / smartparens

Minor mode for Emacs that deals with parens pairs and tries to be smart about it.
GNU General Public License v3.0
1.8k stars 193 forks source link

Recent commit breaks wrapping symbols with question marks in them #1212

Open or opened 4 days ago

or commented 4 days ago

Expected behavior

In Clojure mode I can wrap foobar? with parentheses with sp-wrap-round, getting (foobar?).

Actual behavior

I get (foobar)?.

Steps to reproduce the problem

Open a file in Clojure mode type foobar?, try to wrap it with parentheses with sp-wrap-round.

Backtraces if necessary (M-x toggle-debug-on-error)

N/A

Environment & version information

or commented 4 days ago

Likely related: if I use sp-raise-sexp on (foobar?), then the result is foobar, it removes everything after the ?.