Simplify "lst:configure-ws-butler"
This commit is contained in:
parent
7c0c2e591a
commit
cbf7ce9d9e
@ -5657,8 +5657,7 @@ setup and requires no configuration.
|
||||
#+caption: Configure =ws-butler=.
|
||||
#+name: lst:configure-ws-butler
|
||||
#+begin_src emacs-lisp -n :results silent
|
||||
(when (and (ensure-package-installation 'ws-butler)
|
||||
(fboundp 'ws-butler-mode))
|
||||
(when (ensure-package-installation 'ws-butler)
|
||||
(setopt ws-butler-keep-whitespace-before-point nil)
|
||||
(add-hook 'prog-mode-hook #'ws-butler-mode)
|
||||
(add-hook 'text-mode-hook #'ws-butler-mode))
|
||||
|
Loading…
Reference in New Issue
Block a user