[emacs/ibuffer] change org filter from name-based to mode-based
authorAmin Bandali <bandali@gnu.org>
Sat, 20 Oct 2018 18:53:45 +0000 (14:53 -0400)
committerAmin Bandali <bandali@gnu.org>
Sat, 20 Oct 2018 18:53:45 +0000 (14:53 -0400)
etc/custom.el
init.org

index 3868db1..e9965bf 100644 (file)
@@ -25,7 +25,7 @@
       ("dired"
        (mode . dired-mode))
       ("org"
-       (name . "^.*org$"))
+       (mode . org-mode))
       ("web"
        (or
         (mode . web-mode)
index b82ba6f..4928344 100644 (file)
--- a/init.org
+++ b/init.org
@@ -907,7 +907,7 @@ There's no way I could top that, so I won't attempt to.
   (ibuffer-saved-filter-groups
    '(("default"
       ("dired" (mode . dired-mode))
-      ("org"   (name . "^.*org$"))
+      ("org"   (mode . org-mode))
       ("web"
        (or
         (mode . web-mode)