Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

FYI: Emacs 26 will remove frame-local variables #64

Open
npostavs opened this Issue Dec 21, 2016 · 3 comments

Comments

Projects
None yet
4 participants

I believe this will break perspective-el.

https://lists.gnu.org/archive/html/emacs-devel/2016-12/msg00843.html

Gastove commented Jan 10, 2017

Just hit this after updating to a new nightly of Emacs 26; definitely breaks perspective.el.

Owner

nex3 commented Jan 10, 2017

It should be possible to work around this by creating a map from frames to a struct that contains everything that's currently a frame-local variable. I'm not sure when I'll have time to do that, though.

@humitos humitos referenced this issue in humitos/emacs-configuration Jan 28, 2017

Open

Take a look at perspective #17

Contributor

redshirtrob commented Sep 25, 2017

It's less than ideal, but if you're not actually using multiple frames, you can add this:

(when (not (fboundp 'make-variable-frame-local))
  (defun make-variable-frame-local (variable) variable))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment