From e4888ce6694bce457a9a2fbaa187db2acdc1e131 Mon Sep 17 00:00:00 2001 From: Marcus Kammer Date: Tue, 25 Feb 2025 16:40:12 +0100 Subject: [PATCH] Install which-key package if mode is not available --- init.el | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/init.el b/init.el index b8faa6f7..4e89cd68 100755 --- a/init.el +++ b/init.el @@ -782,8 +782,9 @@ epg-gpg-program "c:/Program Files (x86)/GnuPG/bin/gpg.exe" epg-gpgconf-program "c:/Program Files (x86)/GnuPG/bin/gpgconf.exe"))) -(use-package which-key - :init (which-key-mode)) +(unless which-key-mode + (use-package which-key + :init (which-key-mode))) (use-package ssh-config-mode :mode ("/sshd_config\\'" . ssh-config-mode)