From a114e2abfb08b5fa698851ee4ac5d85eaeaae8ce Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alex=20Benn=C3=A9e?= Date: Mon, 18 Mar 2024 12:08:05 +0000 Subject: [PATCH] my-editing: selected is melpa only --- my-editing.el | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/my-editing.el b/my-editing.el index 0981d61..5738d6d 100644 --- a/my-editing.el +++ b/my-editing.el @@ -72,11 +72,12 @@ If the region is less than a line long assume I want to mark the next (call-interactively #'next-line))) ;; This replaces region-bindings-mode -(use-package selected - :ensure t - :bind (:map selected-keymap - ("C-n" . my-next-mc-or-line-dwim)) - :config (selected-global-mode)) +(when have-melpa + (use-package selected + :ensure t + :bind (:map selected-keymap + ("C-n" . my-next-mc-or-line-dwim)) + :config (selected-global-mode))) ;; Finally a hydra for the complex editing commands ;; currently set to C-# but I might want to lead via C-SPC later.