Merge pull request #3466 from carloscheddar/patch-1

Clarify ace-window font size and add example
This commit is contained in:
Henrik Lissner 2020-06-27 14:09:00 -04:00 committed by GitHub
commit 5ec6820f02
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -48,7 +48,16 @@ The first character of the buffers changes to a highlighted, user-selectable
character. character.
+ Pros: the content of the buffers are always visible. + Pros: the content of the buffers are always visible.
+ Cons: The displayed characters are small and difficult to see. + Cons: The display characters are small and difficult to see (see below for a way to enlarge them).
**** Custom font-face example
This changes the ace-window display to show a white letter with a red background. The box attribute adds some padding.
#+BEGIN_SRC elisp
(custom-set-faces!
'(aw-leading-char-face
:foreground "white" :background "red"
:weight bold :height 2.5 :box (:line-width 10 :color "red")))
#+END_SRC
** switch-window ** switch-window
Replaces the entire buffer with large letters. Replaces the entire buffer with large letters.