emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[nongnu] elpa/cyberpunk-theme df67765 056/132: after-init-hook load-them


From: ELPA Syncer
Subject: [nongnu] elpa/cyberpunk-theme df67765 056/132: after-init-hook load-theme code instructions
Date: Thu, 21 Oct 2021 18:03:48 -0400 (EDT)

branch: elpa/cyberpunk-theme
commit df67765d75498b261fede6b25d7bcaba7248f532
Author: n3mo <nemo1211@gmail.com>
Commit: n3mo <nemo1211@gmail.com>

    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
 ==============
 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]