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

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

[nongnu] elpa/alect-themes ccdeaa8 10/11: README: Use 'with-eval-after-l


From: ELPA Syncer
Subject: [nongnu] elpa/alect-themes ccdeaa8 10/11: README: Use 'with-eval-after-load' in a sample code
Date: Fri, 22 Oct 2021 02:57:34 -0400 (EDT)

branch: elpa/alect-themes
commit ccdeaa87e970b6c1cabb8eb2d6bc7b0e1d92f3d2
Author: Alex Kost <alezost@gmail.com>
Commit: Alex Kost <alezost@gmail.com>

    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



reply via email to

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