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 :CUSTOM_ID: sec:keycast
:END: :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[Setup =keycast=]:
#+caption: Configure =keycast=. #+caption: setup =keycast=.
#+name: lst:configure-keycast #+name: lst:setup-keycast
#+begin_src emacs-lisp -n :results silent #+begin_src emacs-lisp -n :results silent
;; Make `keycast-log-update-buffer' use a buffer similar to the ;; Make `keycast-log-update-buffer' use a buffer similar to what
;; control buffer `ediff-setup-windows-plain' returns. ;; calling `ediff-setup-windows-plain' returns.
(when (ensure-package-installation 'keycast) (when (ensure-package-installation 'keycast)
(setopt keycast-log-newest-first t (setopt keycast-log-newest-first t
keycast-mode-line-window-predicate #'keycast-bottom-right-window-p) keycast-mode-line-window-predicate #'keycast-bottom-right-window-p)