xenodium / ready-player

GNU General Public License v3.0
129 stars 5 forks source link

Fix "read only" error when playing a song after another finishes #3

Closed kisaragi-hiu closed 2 months ago

kisaragi-hiu commented 2 months ago

After a song finishes, opening another file to try to play it shows a "Text is read only" error. This happens because the playback buffer is in shell mode, and shell-mode sets parts of the buffer to read only.

So when ready-player--playback-buffer clears the playback buffer before returning it, it needs to use inhibit-read-only.

Fixes #2.

xenodium commented 2 months ago

Thank you Kisaragi!