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

Broken load-theme-buffer-local #5 #6

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

vt5491
Copy link

@vt5491 vt5491 commented Dec 18, 2014

use 'noflet' instead of 'flet' to override
the functions 'custom-theme-buffer-local-recalc-face' and
'custom-theme-buffer-local-recalc-variable'. In later versions
of emacs, 'flet' is reverting to lexical binding instead of
dynamic binding, thus the methods are no longer being hooked
downsteam.

This introduces a dependency on package 'noflet'. I did not
update the autoload to automatically require this package.

Without this fix, on certain versions of emacs you will get
the following message when trying to run 'load-theme-buffer-local':

Symbol's function definition is void: symbol

use 'noflet' instead of 'flet' to override
the functions 'custom-theme-buffer-local-recalc-face' and
'custom-theme-buffer-local-recalc-variable'.  In later versions
of emacs, 'flet' is reverting to lexical binding instead of
dynamic binding, thus the methods are no longer being hooked
downsteam.

This introduces a dependency on package 'noflet'.  I did not
update the autoload to automatically require this package.

Without this fix, on certain versions of emacs you will get
the following message when trying to run 'load-theme-buffer-local':

Symbol's function definition is void: symbol
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

Successfully merging this pull request may close these issues.

1 participant