Skip to content

Can't remove tofus automatically when quit emacs with savehist on #907

Answered by C-Entropy
C-Entropy asked this question in Q&A
Discussion options

You must be logged in to vote

After some test based on emasc -Q, it turns out to be caused by session

My steps:

  1. Remove and reinstall consult and session
  2. run emacs with emacs -Q
(package-initialize)
(require 'consult)
(require 'session)
  1. use M-x consult-buffer to switch buffer
  2. use M-x session-save-session to save session, and this is when the Warning show up.

It looks like the least version of session is 2021, and I think add an advice to session-save-session will make this work. I will give it a try.

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by minad
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #906 on December 20, 2023 16:01.