[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/nano-theme 6127576 07/24: Add autoload for Custom
From: |
ELPA Syncer |
Subject: |
[elpa] externals/nano-theme 6127576 07/24: Add autoload for Custom |
Date: |
Wed, 29 Sep 2021 08:57:47 -0400 (EDT) |
branch: externals/nano-theme
commit 6127576a3a216b10d354bbe17c0b2bca83db849c
Author: Kisaragi Hiu <mail@kisaragi-hiu.com>
Commit: GitHub <noreply@github.com>
Add autoload for Custom
Without this, load-theme would only be able to locate the theme if the
file happens to be located under custom-theme-load-path.
---
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)
- [elpa] externals/nano-theme 3285578 13/24: Add Quelpa installation instructions, (continued)
- [elpa] externals/nano-theme 3285578 13/24: Add Quelpa installation instructions, ELPA Syncer, 2021/09/29
- [elpa] externals/nano-theme 3dd71e1 14/24: Merge pull request #2 from mpereira/patch-1, ELPA Syncer, 2021/09/29
- [elpa] externals/nano-theme d5affda 04/24: Recommended layout is off, ELPA Syncer, 2021/09/29
- [elpa] externals/nano-theme 9b4a669 06/24: Added installation instructions, ELPA Syncer, 2021/09/29
- [elpa] externals/nano-theme 73c3be1 09/24: Added header line customization, ELPA Syncer, 2021/09/29
- [elpa] externals/nano-theme 4a23178 19/24: Fix theme for new frames. Close #6, ELPA Syncer, 2021/09/29
- [elpa] externals/nano-theme da11e53 23/24: Removed tabs, ELPA Syncer, 2021/09/29
- [elpa] externals/nano-theme a9e0ddd 21/24: Added documentation, ELPA Syncer, 2021/09/29
- [elpa] externals/nano-theme 2c252fe 22/24: Minor correction in documentation, ELPA Syncer, 2021/09/29
- [elpa] externals/nano-theme c615b55 05/24: Added a nano-mode function to apply recommended settings, ELPA Syncer, 2021/09/29
- [elpa] externals/nano-theme 6127576 07/24: Add autoload for Custom,
ELPA Syncer <=
- [elpa] externals/nano-theme eb8b98a 12/24: Add file header, ELPA Syncer, 2021/09/29
- [elpa] externals/nano-theme 8d3ae3a 15/24: Experiments to remove inheritance that slow down redisplay, ELPA Syncer, 2021/09/29
- [elpa] externals/nano-theme ae5d982 16/24: Merge remote-tracking branch 'origin/master', ELPA Syncer, 2021/09/29
- [elpa] externals/nano-theme 8c50bda 18/24: Make fonts stack an option (default is disabled), ELPA Syncer, 2021/09/29
- [elpa] externals/nano-theme 5d4f6c6 20/24: Added GNUS faces and suppressed warnings, ELPA Syncer, 2021/09/29
- [elpa] externals/nano-theme 1ad2168 24/24: Cosmetic changes in comments, ELPA Syncer, 2021/09/29
- [elpa] externals/nano-theme 374962f 10/24: Merge remote-tracking branch 'origin/master', ELPA Syncer, 2021/09/29
- [elpa] externals/nano-theme 99ff1c5 17/24: Removed automatic start, ELPA Syncer, 2021/09/29
- [elpa] externals/nano-theme 2628d5b 08/24: Merge pull request #1 from kisaragi-hiu/patch-1, ELPA Syncer, 2021/09/29