Remove KBD installations from more Elisp modules

I originally liked this pattern, but now I'd prefer to put everything in
keybindings.el.
This commit is contained in:
William Carroll 2020-09-02 15:03:04 +01:00
parent d1ee517461
commit ea274f924a
2 changed files with 0 additions and 33 deletions

View file

@ -19,17 +19,9 @@
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
(require 'cycle)
(require 'general)
(require '>)
(require 'cl-macs)
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;; Constants
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
(defcustom colorscheme-install-kbds? t
"If non-nil, enable the keybindings.")
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;; Library
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
@ -90,13 +82,5 @@ Cycle prev otherwise."
(interactive)
(colorscheme-cycle :forward? nil))
;; Keybindings
(when colorscheme-install-kbds?
(general-define-key
:prefix "<SPC>"
:states '(normal)
"Ft" #'colorscheme-next
"Pt" #'colorscheme-prev))
(provide 'colorscheme)
;;; colorscheme.el ends here