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.82k stars 195 forks source link

sp-kill-sexp doesn't know the user option kill-read-only-ok #1186

Open meedstrom opened 7 months ago

meedstrom commented 7 months ago

Expected behavior

Can kill a sexp in e.g. an Info buffer in order to paste elsewhere.

Actual behavior

Get message "Buffer is read only".

Steps to reproduce the problem

  1. M-x set-variable RET kill-read-only-ok RET t RET
  2. C-h i d m elisp RET
  3. SPC until finding some lisp snippet
  4. Try to use sp-kill-sexp on it

Environment & version information

meedstrom commented 2 months ago

Well, it seems to work now!

meedstrom commented 2 months ago

Ok, I am not sure what I did but now it does not work again. Pretty sure I checked I was using sp-kill-sexp both times...