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/

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

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>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

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)
  •  

    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

    Back to the top

    Powered by Savane 3.13-cf05.
    Corresponding source code