branch: elpa/cyberpunk-theme
commit df67765d75498b261fede6b25d7bcaba7248f532
Author: n3mo <[email protected]>
Commit: n3mo <[email protected]>
after-init-hook load-theme code instructions
---
README.md | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/README.md b/README.md
index 8a6823a..08d0425 100644
--- a/README.md
+++ b/README.md
@@ -43,6 +43,13 @@ If you want cyberpunk-theme to be set at startup, add the
following line to your
(load-theme 'cyberpunk t)
```
+If you've install cyberpunk using package-install, you made need to wait to
load the cyberpunk theme until startup initialization is complete. In this
case, instead of <code>(load-theme 'cyberpunk t)</code>, you may need something
like:
+
+```lisp
+(add-hook 'after-init-hook
+ (lambda () (load-theme 'cyberpunk t)))
+```
+
Specific Modes
==============