diff --git a/init.el b/init.el index da153d9..51d7bad 100644 --- a/init.el +++ b/init.el @@ -174,15 +174,13 @@ (use-package electric-pair :defer t - :hook - ((prog-mode) . electric-pair-mode)) + :hook prog-mode) ;;; Aggressive Indent (use-package aggressive-indent :ensure t :defer t - :hook - (prog-mode . aggressive-indent-mode)) + :hook prog-mode) ;;; Man @@ -211,8 +209,8 @@ :map ibuffer-mode-map ("q" . user-ibuffer-quit)) :hook - ((ibuffer-mode) . ibuffer-auto-mode) - ((ibuffer-auto-mode) . ibuffer-set-filter-groups-by-mode) + (ibuffer-mode . ibuffer-auto-mode) + (ibuffer-auto-mode . ibuffer-set-filter-groups-by-mode) :config (fuco1-special-beginning-of-buffer ibuffer (ibuffer-forward-line 1)) (fuco1-special-end-of-buffer ibuffer (ibuffer-backward-line 1))) @@ -236,7 +234,7 @@ (use-package dired :defer t :hook - ((dired-mode) . dired-hide-details-mode) + (dired-mode . dired-hide-details-mode) :init (setq dired-listing-switches "-la --group-directories-first") (setq dired-recursive-copies 'always)