From 93e943ee5c81a1ae463aa99b8bfbde68035b770d Mon Sep 17 00:00:00 2001 From: Kevin Brubeck Unhammer Date: Thu, 24 Oct 2024 13:10:51 +0200 Subject: [PATCH] default to paragraph-at-point for special-mode Both eww-mode and gnus-article-mode derive from special-mode, it makes sense to use paragraph mode for these. The other special-modes don't seem like the kind where you'd want focus-mode on. (`grep -Rohan 'define-derived-mode.*special-mode' lisp/` in emacs sources to see other things deriving from special-mode) --- focus.el | 1 + 1 file changed, 1 insertion(+) diff --git a/focus.el b/focus.el index df330c5..728be45 100644 --- a/focus.el +++ b/focus.el @@ -40,6 +40,7 @@ (defcustom focus-mode-to-thing '((prog-mode . defun) (text-mode . paragraph) + (special-mode . paragraph) (org-mode . org-element)) "An associated list between mode and thing.