diff options
author | Case Duckworth | 2021-08-24 21:24:43 -0500 |
---|---|---|
committer | Case Duckworth | 2021-08-24 21:24:43 -0500 |
commit | e7437b1f7035baf9825778446efd05c6cc407470 (patch) | |
tree | c40b8b2fd2527ef507b0b3136434f48bba5f918d | |
parent | Define page-delimiter in eshell (diff) | |
download | emacs-e7437b1f7035baf9825778446efd05c6cc407470.tar.gz emacs-e7437b1f7035baf9825778446efd05c6cc407470.zip |
Fix ibuffer hook
-rw-r--r-- | init.el | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/init.el b/init.el index caa5c51..9f4b570 100644 --- a/init.el +++ b/init.el | |||
@@ -508,6 +508,7 @@ like a dumbass." | |||
508 | (add-hook 'prog-mode-hook #'goto-address-prog-mode)) | 508 | (add-hook 'prog-mode-hook #'goto-address-prog-mode)) |
509 | 509 | ||
510 | (setup ibuffer | 510 | (setup ibuffer |
511 | (:also-load ibuf-ext) | ||
511 | (:option ibuffer-saved-filter-groups | 512 | (:option ibuffer-saved-filter-groups |
512 | '(("default" | 513 | '(("default" |
513 | ("dired" (mode . dired-mode)) | 514 | ("dired" (mode . dired-mode)) |
@@ -544,11 +545,10 @@ like a dumbass." | |||
544 | (interactive "P") | 545 | (interactive "P") |
545 | (if arg (ibuffer) (electric-buffer-list nil)))) | 546 | (if arg (ibuffer) (electric-buffer-list nil)))) |
546 | 547 | ||
547 | (add-hook 'ibuffer-mode | 548 | (add-hook 'ibuffer-mode-hook |
548 | (defun ibuffer@filter-to-default () | 549 | (defun ibuffer@filter-to-default () |
549 | (ibuffer-switch-to-saved-filter-groups "default"))) | 550 | (ibuffer-switch-to-saved-filter-groups "default"))) |
550 | 551 | ||
551 | (:also-load ibuf-ext) | ||
552 | (:option ibuffer-show-empty-filter-groups nil | 552 | (:option ibuffer-show-empty-filter-groups nil |
553 | ibuffer-expert t)) | 553 | ibuffer-expert t)) |
554 | 554 | ||