forked from ran9er/init.emacs
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathtest.el
36 lines (32 loc) · 811 Bytes
/
test.el
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
;; -*- encoding: utf-8-emacs-unix; -*-
;; background
(when nil
(custom-set-faces
'(default
((t (:background
((image
:type jpeg
:file "/Path/to/your/image.png")
:origin display)
:stipple nil
:foreground "white"
:inverse-video nil
:box nil
:strike-through nil
:overline nil
:underline nil
:slant normal
:weight normal
:height 101
:width normal
:family "misc-fixed")))))
(setq acc 0)
(dolist (x (loop for i upto 99 collect i))
(insert " ")
(set-text-properties
(1- (point)) (point)
`(font-lock-face
(:background
,(adjust-color "gray20" x)))))
(loop collect i for i upto 99)
)