Skip to content

Commit

Permalink
Remove read-only property when filtering lui text
Browse files Browse the repository at this point in the history
This allows `M-x zone` and friends to work, provided it uses
`filter-buffer-substring`...
  • Loading branch information
wasamasa committed Oct 31, 2024
1 parent 88739da commit 2e70481
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lui.el
Original file line number Diff line number Diff line change
Expand Up @@ -1318,6 +1318,7 @@ DELETE."
(inhibit-read-only t))
(with-temp-buffer
(insert string)
(remove-list-of-text-properties (point-min) (point-max) '(read-only))
(let ((start (text-property-any (point-min)
(point-max)
'lui-time-stamp t)))
Expand Down

0 comments on commit 2e70481

Please sign in to comment.