patchcolor-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/

Submitted by:  Jakub Turski <yacoob>
Submitted on:  Mon 18 Oct 2010 09:08:18 PM UTC  
Category:  None Priority:  5 - Normal
Status:  None Privacy:  Public
Assigned to:  None Open/Closed:  Open

Mon 18 Oct 2010 09:08:18 PM UTC, original submission:  

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.

Jakub Turski <yacoob>


Attached Files
file #21709:  color-theme.patch added by yacoob (1KiB - application/octet-stream)


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -email is unavailable- added by yacoob (Submitted the item)

    Do you think this task is very important?
    If so, you can add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.




    Follows 1 latest change.

    Date Changed by Updated Field Previous Value => Replaced by
    2010-10-18 yacoob Attached File- => Added color-theme.patch, #21709

    Back to the top

    Powered by Savane 3.5