Date: Sat, 3 Jun 2023 15:50:37 +0100
From: Jimmy Wong <wyuenho@gmail.com>
Cc: 63871@debbugs.gnu.org
Thanks. I ended up advising get-buffer-create instead as I don’t know how to add a hook to
buffer-list-update-hook and not run into an infinite loop.
My suggestion would be to add this function to
desktop-after-read-hook. Did you try that?