mirror of
https://github.com/larstvei/Focus.git
synced 2025-04-19 20:40:13 +00:00
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)
This commit is contained in:
parent
17c471544f
commit
93e943ee5c
1
focus.el
1
focus.el
@ -40,6 +40,7 @@
|
|||||||
|
|
||||||
(defcustom focus-mode-to-thing '((prog-mode . defun)
|
(defcustom focus-mode-to-thing '((prog-mode . defun)
|
||||||
(text-mode . paragraph)
|
(text-mode . paragraph)
|
||||||
|
(special-mode . paragraph)
|
||||||
(org-mode . org-element))
|
(org-mode . org-element))
|
||||||
"An associated list between mode and thing.
|
"An associated list between mode and thing.
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user