summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJSDurand <mmemmew@gmail.com>2021-09-20 13:21:53 +0800
committerJSDurand <mmemmew@gmail.com>2021-09-20 13:21:53 +0800
commit6bf9731a453db7f19060e998f4d099c3bf15bb9d (patch)
tree43102420faa6cab35a97b333f45ee3c7a240a15b
parentea1dc729170149e67c399bc6db500b54d32b84df (diff)
* view-conf.el (durand-focus): New define-minor-mode syntax.
-rw-r--r--view-conf.el4
1 files changed, 3 insertions, 1 deletions
diff --git a/view-conf.el b/view-conf.el
index 1761f90..530bab9 100644
--- a/view-conf.el
+++ b/view-conf.el
@@ -300,7 +300,9 @@ options to choose from."
;;;###autoload
(define-minor-mode durand-focus
- "Focus mode." nil " Foc" nil
+ "Focus mode."
+ :init-value nil
+ :lighter " Foc"
(cond
(durand-focus
(setq olivetti-body-width 80)