Remove a couple of redundant requires

All the commands from those packages are autoloaded anyways, so
there's no need to require the packages before they are actually used.
This commit is contained in:
Bozhidar Batsov 2017-12-30 09:32:07 +02:00
parent 2bfa877db0
commit 083c8a66a5

View file

@ -47,15 +47,11 @@
;; swiper provides enhanced buffer search ;; swiper provides enhanced buffer search
(require 'swiper)
(global-set-key "\C-s" 'swiper) (global-set-key "\C-s" 'swiper)
;; counsel supercharges a lot of commands with some ivy magic ;; counsel supercharges a lot of commands with some ivy magic
(require 'counsel)
(global-set-key (kbd "M-x") 'counsel-M-x) (global-set-key (kbd "M-x") 'counsel-M-x)
(global-set-key (kbd "C-x C-f") 'counsel-find-file) (global-set-key (kbd "C-x C-f") 'counsel-find-file)
(global-set-key (kbd "<f1> f") 'counsel-describe-function) (global-set-key (kbd "<f1> f") 'counsel-describe-function)