Check for kbd-mode before installing
This commit is contained in:
parent
135c87d5a5
commit
ccf511ce0c
|
@ -522,8 +522,9 @@ manually with something like this:
|
|||
:after (embark consult)
|
||||
:hook (embark-collect-mode . consult-preview-at-point-mode))
|
||||
|
||||
(package-vc-install
|
||||
'(kbd-mode . (:url "https://github.com/kmonad/kbd-mode")))
|
||||
(unless (package-installed-p 'kbd-mode)
|
||||
(package-vc-install
|
||||
'(kbd-mode . (:url "https://github.com/kmonad/kbd-mode"))))
|
||||
(use-package kbd-mode)
|
||||
|
||||
(setq sendmail-program (executable-find "msmtp")
|
||||
|
|
|
@ -611,8 +611,9 @@ For reference information, see [[https://orgmode.com][Org-mode website]]
|
|||
** Language-specific settings
|
||||
*** kmonad
|
||||
#+begin_src emacs-lisp
|
||||
(package-vc-install
|
||||
'(kbd-mode . (:url "https://github.com/kmonad/kbd-mode")))
|
||||
(unless (package-installed-p 'kbd-mode)
|
||||
(package-vc-install
|
||||
'(kbd-mode . (:url "https://github.com/kmonad/kbd-mode"))))
|
||||
(use-package kbd-mode)
|
||||
#+end_src
|
||||
* Internet
|
||||
|
|
Loading…
Reference in a new issue