branch: externals/nano-theme commit 2628d5b4f0afee5afb2e52cd35d860701bb16ac7 Merge: 9b4a669 6127576 Author: Nicolas P. Rougier <nicolas.roug...@inria.fr> Commit: GitHub <nore...@github.com>
Merge pull request #1 from kisaragi-hiu/patch-1 Add autoload for Custom --- nano-theme.el | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/nano-theme.el b/nano-theme.el index f95caa5..a2621e7 100644 --- a/nano-theme.el +++ b/nano-theme.el @@ -801,6 +801,9 @@ background color that is barely perceptible." :background "#FFF9C4")))) ;; material color yellow L100 )) -(provide-theme 'nano) +;;;###autoload +(when (and (boundp 'custom-theme-load-path) load-file-name) + (add-to-list 'custom-theme-load-path + (file-name-as-directory (file-name-directory load-file-name)))) - +(provide-theme 'nano)