Edit text in the "Keycast" section

This commit is contained in:
Gerard Vermeulen 2024-06-19 11:17:21 +02:00
parent 52f7edb656
commit efb8a4c9c9

View File

@ -1067,14 +1067,15 @@ looks for files.
:CUSTOM_ID: sec:keycast
:END:
Listing [[lst:configure-keycast]] configures =keycast=.
Listing [[lst:setup-keycast]] sets up =keycast= so that =keycast-log-mode= uses a
buffer similar to what calling =ediff-setup-windows-plain= returns.
#+caption[Configure =keycast=]:
#+caption: Configure =keycast=.
#+name: lst:configure-keycast
#+caption[Setup =keycast=]:
#+caption: setup =keycast=.
#+name: lst:setup-keycast
#+begin_src emacs-lisp -n :results silent
;; Make `keycast-log-update-buffer' use a buffer similar to the
;; control buffer `ediff-setup-windows-plain' returns.
;; Make `keycast-log-update-buffer' use a buffer similar to what
;; calling `ediff-setup-windows-plain' returns.
(when (ensure-package-installation 'keycast)
(setopt keycast-log-newest-first t
keycast-mode-line-window-predicate #'keycast-bottom-right-window-p)