Skip to content

Commit

Permalink
docs/api: fix quoting for custom-(theme-)?set-faces!
Browse files Browse the repository at this point in the history
  • Loading branch information
hlissner committed Aug 18, 2019
1 parent b854a08 commit a365b1c
Showing 1 changed file with 20 additions and 20 deletions.
40 changes: 20 additions & 20 deletions docs/api.org
Original file line number Diff line number Diff line change
Expand Up @@ -34,19 +34,19 @@ It is integrated into Helpful, in Doom.
* custom-theme-set-faces!
#+BEGIN_SRC elisp :eval no
(custom-theme-set-faces! 'doom-one-theme
`(outline-1 :weight normal)
`(outline-2 :weight normal)
`(outline-3 :weight normal)
`(outline-4 :weight normal)
`(outline-5 :weight normal)
`(outline-6 :weight normal)
`(default :background "red" :weight bold)
`(region :background "red" :weight bold)`)
'(outline-1 :weight normal)
'(outline-2 :weight normal)
'(outline-3 :weight normal)
'(outline-4 :weight normal)
'(outline-5 :weight normal)
'(outline-6 :weight normal)
'(default :background "red" :weight bold)
'(region :background "red" :weight bold))

(custom-theme-set-faces! '(doom-one-theme doom-one-light-theme)
`((outline-1 outline-2 outline-3 outline-4 outline-5 outline-6)
'((outline-1 outline-2 outline-3 outline-4 outline-5 outline-6)
:weight normal)
`((default region)
'((default region)
:background "red" :weight bold))

(let ((red-bg-faces '(default region)))
Expand All @@ -60,19 +60,19 @@ It is integrated into Helpful, in Doom.
* custom-set-faces!
#+BEGIN_SRC elisp :eval no
(custom-set-faces!
`(outline-1 :weight normal)
`(outline-2 :weight normal)
`(outline-3 :weight normal)
`(outline-4 :weight normal)
`(outline-5 :weight normal)
`(outline-6 :weight normal)
`(default :background "red" :weight bold)
`(region :background "red" :weight bold)`)
'(outline-1 :weight normal)
'(outline-2 :weight normal)
'(outline-3 :weight normal)
'(outline-4 :weight normal)
'(outline-5 :weight normal)
'(outline-6 :weight normal)
'(default :background "red" :weight bold)
'(region :background "red" :weight bold))

(custom-set-faces!
`((outline-1 outline-2 outline-3 outline-4 outline-5 outline-6)
'((outline-1 outline-2 outline-3 outline-4 outline-5 outline-6)
:weight normal)
`((default region)
'((default region)
:background "red" :weight bold))

(let ((red-bg-faces '(default region)))
Expand Down

0 comments on commit a365b1c

Please sign in to comment.