Skip to content

Comments

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

Open
vt5491 wants to merge 1 commit intovic:masterfrom
vt5491:master
Open

Broken load-theme-buffer-local #5#6
vt5491 wants to merge 1 commit intovic:masterfrom
vt5491:master

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