Start fleshing out the appearance section
This commit is contained in:
parent
424322a129
commit
f19fcfd025
21
README.org
21
README.org
@ -1829,7 +1829,7 @@ The code in listing [[lst:configure-face-attributes]] source implements those ru
|
||||
|
||||
#+caption[Configure =face-attributse=]:
|
||||
#+caption: Configure =face-attributes=.
|
||||
#+label: lst:configure-face-attributes
|
||||
#+name: lst:configure-face-attributes
|
||||
#+begin_src emacs-lisp
|
||||
(unless noninteractive
|
||||
;; Set face attributes.
|
||||
@ -1853,8 +1853,9 @@ the the code in [[lst:my-set-default-face-height]] shows.
|
||||
|
||||
#+caption[Implement =my-set-default-face-height=]:
|
||||
#+caption: Implement =my-set-default-face-height=.
|
||||
#+label: lst:my-set-default-face-height
|
||||
#+name: lst:my-set-default-face-height
|
||||
#+begin_src emacs-lisp
|
||||
(unless noninteractive
|
||||
(defun my-set-default-face-height ()
|
||||
"Set the default face height in all current and future frames.
|
||||
|
||||
@ -1867,27 +1868,29 @@ the the code in [[lst:my-set-default-face-height]] shows.
|
||||
(height (string-to-number
|
||||
(completing-read prompt choices nil 'require-match))))
|
||||
(message "Setting the height of the default face to %s" height)
|
||||
(set-face-attribute 'default nil :height height)))
|
||||
(set-face-attribute 'default nil :height height))))
|
||||
#+end_src
|
||||
|
||||
Allow swapping fhe foreground and background colors of the default face on all
|
||||
frames.
|
||||
Listing [[lst:my-invert-default-face]] allows swapping the foreground and background
|
||||
colors of the default face on all frames.
|
||||
|
||||
#+caption[Implement =my-invert-default-face=]:
|
||||
#+caption: Implement =my-invert-default-face=.
|
||||
#+label: lst:my-invert-default-face
|
||||
#+name: lst:my-invert-default-face
|
||||
#+begin_src emacs-lisp
|
||||
(unless noninteractive
|
||||
(defun my-invert-default-face ()
|
||||
"Invert the default face."
|
||||
(interactive)
|
||||
(invert-face 'default))
|
||||
(invert-face 'default)))
|
||||
#+end_src
|
||||
|
||||
Enable =rainbow-mode= to colorize color names in buffers for debugging.
|
||||
Listing [[lst:enable-rainbow-mode]] enables =rainbow-mode= to colorize color names
|
||||
in buffers for debugging.
|
||||
|
||||
#+caption[Enable =rainbow-mode=]:
|
||||
#+caption: Enable =rainbow-mode=.
|
||||
#+label: lst:enable-rainbow-mode
|
||||
#+name: lst:enable-rainbow-mode
|
||||
#+begin_src emacs-lisp
|
||||
(when (fboundp 'rainbow-mode)
|
||||
(custom-set-variables
|
||||
|
Loading…
x
Reference in New Issue
Block a user