Only add to ibuffer-mode-map when ibuffer is loaded

This commit is contained in:
Adam Goldsmith 2016-03-01 15:07:51 -05:00
parent 8f13d5787a
commit 2b0c29e94c

View File

@ -152,7 +152,8 @@
(cat-mode :fetcher github :repo "ad1217/emacs-cat-mode")
:config
(cat-mode 1)
(define-key ibuffer-mode-map (kbd "c") 'cat-set-ibuffer))
(eval-after-load "ibuffer"
'(define-key ibuffer-mode-map (kbd "c") 'cat-set-ibuffer)))
(use-package dired+ :quelpa
:init