smartparens icon indicating copy to clipboard operation
smartparens copied to clipboard

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

Open meedstrom opened this issue 4 months ago • 0 comments

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

  • smartparens version: 1.11.0
  • Active major-mode: Info-mode
  • Smartparens strict mode: nil
  • Emacs version (M-x emacs-version): GNU Emacs 29.1 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.38, cairo version 1.17.8) of 2023-09-02, modified by Debian
  • Starterkit/Distribution: Vanilla
  • OS: gnu/linux

meedstrom avatar Feb 06 '24 19:02 meedstrom