Last active
December 24, 2015 19:29
-
-
Save fasheng/6850647 to your computer and use it in GitHub Desktop.
For the themes which installed through elpa, add the following code to auto include the theme path in the `pkg-autoloads.el` file under elpa.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
;;;###autoload | |
(and load-file-name | |
(boundp 'custom-theme-load-path) | |
(add-to-list 'custom-theme-load-path | |
(file-name-as-directory | |
(file-name-directory load-file-name)))) | |
(provide-theme 'theme-name) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment