aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiguel Ángel Moreno <mail@migalmoreno.com>2022-06-14 11:07:44 +0200
committerMiguel Ángel Moreno <mail@migalmoreno.com>2022-06-14 11:07:44 +0200
commit8b8de25011a3afa3ad544e4c18afd4dda3958267 (patch)
tree8c54f75c6b72a25f0adcd1b47ca781acec3984b0
parentef45b352a5ece639674a3cf529017f91ce80994e (diff)
fdroid.el: Adds small nits
-rw-r--r--fdroid.el6
1 files changed, 4 insertions, 2 deletions
diff --git a/fdroid.el b/fdroid.el
index 8ccc10a..3c87653 100644
--- a/fdroid.el
+++ b/fdroid.el
@@ -20,7 +20,9 @@
:type 'boolean)
(defcustom fdroid-sans-device nil
- "If non-nil, it indicates `fdroid' commands should override the device connection check.")
+ "If non-nil, it indicates `fdroid' commands should override the device connection check."
+ :group 'fdroid
+ :type 'boolean)
(defvar fdroid--packages nil
"Holds the list of cached packages from the current F-Droid repository.")
@@ -203,7 +205,7 @@ for a MULTIPLE package selection."
(defun fdroid-default-keybindings ()
"Binds the `C-c C-' prefix to `fdroid' actions."
(interactive)
- (global-set-key (kbd "C-c C--") 'fdroid-map))
+ (define-key mode-specific-map [?\C--] 'fdroid-map))
(embark-define-keymap embark-fdroid-actions
"Keymap for `fdroid' actions which take F-Droid package identifiers."