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)
|
:after (embark consult)
|
||||||
:hook (embark-collect-mode . consult-preview-at-point-mode))
|
:hook (embark-collect-mode . consult-preview-at-point-mode))
|
||||||
|
|
||||||
(package-vc-install
|
(unless (package-installed-p 'kbd-mode)
|
||||||
'(kbd-mode . (:url "https://github.com/kmonad/kbd-mode")))
|
(package-vc-install
|
||||||
|
'(kbd-mode . (:url "https://github.com/kmonad/kbd-mode"))))
|
||||||
(use-package kbd-mode)
|
(use-package kbd-mode)
|
||||||
|
|
||||||
(setq sendmail-program (executable-find "msmtp")
|
(setq sendmail-program (executable-find "msmtp")
|
||||||
|
|
|
@ -611,8 +611,9 @@ For reference information, see [[https://orgmode.com][Org-mode website]]
|
||||||
** Language-specific settings
|
** Language-specific settings
|
||||||
*** kmonad
|
*** kmonad
|
||||||
#+begin_src emacs-lisp
|
#+begin_src emacs-lisp
|
||||||
(package-vc-install
|
(unless (package-installed-p 'kbd-mode)
|
||||||
'(kbd-mode . (:url "https://github.com/kmonad/kbd-mode")))
|
(package-vc-install
|
||||||
|
'(kbd-mode . (:url "https://github.com/kmonad/kbd-mode"))))
|
||||||
(use-package kbd-mode)
|
(use-package kbd-mode)
|
||||||
#+end_src
|
#+end_src
|
||||||
* Internet
|
* Internet
|
||||||
|
|
Loading…
Reference in a new issue