branch: elpa/alect-themes
commit ccdeaa87e970b6c1cabb8eb2d6bc7b0e1d92f3d2
Author: Alex Kost <[email protected]>
Commit: Alex Kost <[email protected]>
README: Use 'with-eval-after-load' in a sample code
---
README.md | 7 +++----
1 file changed, 3 insertions(+), 4 deletions(-)
diff --git a/README.md b/README.md
index 0ce52e6..2f83384 100644
--- a/README.md
+++ b/README.md
@@ -196,10 +196,9 @@ the background. You can change those colors by putting
this into your
`.emacs` (before loading an alect-theme if you use it on Emacs start):
```elisp
-(eval-after-load 'alect-themes
- '(progn
- (alect-set-color 'light 'cyan-2 "#00a8a8")
- (alect-set-color 'dark 'bg-1 "black")))
+(with-eval-after-load 'alect-themes
+ (alect-set-color 'light 'cyan-2 "#00a8a8")
+ (alect-set-color 'dark 'bg-1 "black"))
```
The function `alect-set-color` is just a convenient way for modifying