diff --git a/spacemacs/keybindings.el b/spacemacs/keybindings.el index dc4131335..469aae934 100644 --- a/spacemacs/keybindings.el +++ b/spacemacs/keybindings.el @@ -216,8 +216,3 @@ "ms" 'sp-forward-slurp-sexp "mta" (lambda () (interactive) (ert t)) "mtf" 'ert) -;; rcirc ---------------------------------------------------------------------- -(eval-after-load "rcirc" - '(progn - (define-key rcirc-mode-map (kbd "C-j") 'rcirc-insert-prev-input) - (define-key rcirc-mode-map (kbd "C-k") 'rcirc-insert-next-input))) diff --git a/spacemacs/packages.el b/spacemacs/packages.el index dd42c644c..9346be06f 100644 --- a/spacemacs/packages.el +++ b/spacemacs/packages.el @@ -1379,7 +1379,9 @@ which require an initialization must be listed explicitly in the list." ;; (concat spacemacs-extensions-directory "rcirc-reconnect/rcirc-reconnect.el")) ;; identify info are stored in a separate location, skip errors ;; if the feature cannot be found. - (require 'pinit-rcirc nil 'noerror)))) + (require 'pinit-rcirc nil 'noerror) + (define-key rcirc-mode-map (kbd "C-j") 'rcirc-insert-prev-input) + (define-key rcirc-mode-map (kbd "C-k") 'rcirc-insert-next-input)))) (defun spacemacs/init-recentf () (use-package recentf