Skip to content
New issue

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

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Persistent enabling via customize interface does not seem to work #25

Open
jsyjr opened this issue Dec 26, 2017 · 2 comments
Open

Persistent enabling via customize interface does not seem to work #25

jsyjr opened this issue Dec 26, 2017 · 2 comments

Comments

@jsyjr
Copy link

jsyjr commented Dec 26, 2017

Fairly recent (nearly 26.1) version of emacs built from git:

GNU Emacs 27.0.50 (build 2, x86_64-pc-linux-gnu, GTK+ Version 2.24.31) of 2017-10-16

@davidshepherd7
Copy link
Owner

From peeking at your config on github it looks like you are autoloading frames-only-mode, which (AFAIK) will only load it when the function frames-only-mode is called. So it's possible that custom-set-variables doesn't trigger the autoload.

I can only reproduce the issue with a similar setup:

(add-to-list 'load-path "/home/david/code/frames-only-mode/")
(autoload #'frames-only-mode "frames-only-mode" nil t)
(custom-set-variables '(frames-only-mode t))

if I replace the autoload with (require 'frames-only-mode) then it works.

Do you think that's the problem? I'm not familiar with using custom variables to turn on modes.

@jsyjr
Copy link
Author

jsyjr commented Dec 30, 2017 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants