color-theme - Patches: patch #7347, Make color-theme play nicely with...
You are not allowed to post comments on this tracker with your current authentication level.
patch #7347: Make color-theme play nicely with byte-compiled files under themes/
Submitter: | Jakub Turski <yacoob> | ||
Submitted: | Mon 18 Oct 2010 09:08:18 PM UTC | ||
Category: | None | Priority: | 5 - Normal |
Status: | None | Privacy: | Public |
Assigned to: | None | Open/Closed: | Open |
Attached Files
Depends on the following items: None found
Items that depend on this one: None found
Carbon-Copy List
There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.
Follows 1 latest change.
Date | Changed by | Updated Field | Previous Value | => | Replaced by |
---|---|---|---|---|---|
2010-10-18 | yacoob | Attached File | - | Added color-theme.patch, #21709 |
Powered by Savane 3.13-02a9.
Corresponding source code
If you byte compile .el files under themes/ directory, you'll end up loading each set of themes twice - once as .el, once as .elc. This is because by default, color-theme-libraries is set to all files under that directory, and for each such file, load is called. If load gets a specific filename with .el or .elc, it'll just load that, without second-guessing user. If it gets filename without extension, it'll do the Right Thing[tm] - try .elc, then look for .el.
Included patch fixes this. It should work for any set of .el files, that might have been byte compiled.