Ensure keycast installation in its own section

This commit is contained in:
Gerard Vermeulen 2022-05-01 07:29:03 +02:00
parent e6be2d9502
commit b4f8f94d7d

View File

@ -215,7 +215,6 @@ The [[info:emacs#Init File][init file (info)]] does not load the ~custom-file~ a
embark ; act on any buffer selection
htmlize ; convert buffer contents to HTML
iedit ; simultaneous multi-entity editing
keycast ; show current command with binding
magit ; Git Text-based User Interface
marginalia ; minibuffer margin notes
no-littering ; keep `user-emacs-directory' clean
@ -677,6 +676,25 @@ users from shooting themselves in the feet. Listing
(call-interactively this-command))))
#+end_src
** [[https://github.com/tarsius/keycast#readme][Keycast]]
:PROPERTIES:
:CUSTOM_ID: sec:keycast
:END:
Listing [[lst:configure-keycast]] configures =keycast=.
#+caption[Configure =keycast=]:
#+caption: Configure =keycast=.
#+name: lst:configure-keycast
#+begin_src emacs-lisp
(when (ensure-package-installation 'keycast)
;; TODO: make `keycast-log-update-buffer' use a buffer similar to
;; the control buffer `ediff-setup-windows-plain' returns.
(with-eval-after-load 'keycast
(custom-set-variables
'(keycast-mode-line-window-predicate 'keycast-bottom-right-window-p))))
#+end_src
* [[info:emacs#Emacs Server][Using Emacs as a server (info)]]
:PROPERTIES:
:CUSTOM_ID: sec:using-emacs-server