[emacs/gnus] fix and improve gnus-permanently-visible-groups regexp
authorAmin Bandali <bandali@gnu.org>
Sun, 20 Jan 2019 22:15:14 +0000 (17:15 -0500)
committerAmin Bandali <bandali@gnu.org>
Sun, 20 Jan 2019 22:16:50 +0000 (17:16 -0500)
typo fix: remove extraneous opening paren
 improve: rule out partial folder matches for the two cases

init.org

index acab560..8a0f52e 100644 (file)
--- a/init.org
+++ b/init.org
@@ -2372,7 +2372,7 @@ Also see [[https://www.emacswiki.org/emacs/rebox2][rebox2]].
 
 (use-feature gnus-group
   :config
-  (setq gnus-permanently-visible-groups "\\((INBOX\\|gnu$\\)"))
+  (setq gnus-permanently-visible-groups "\\(:INBOX$\\|:gnu$\\)"))
 
 (use-feature mm-decode
   :config