Skip to content

Commit

Permalink
feat(+writing-mode): add +writing-global-mode (fix #117)
Browse files Browse the repository at this point in the history
  • Loading branch information
abougouffa committed Oct 7, 2023
1 parent 51ac487 commit 2cabf08
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions modules/extras/me-writing-mode.el
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,12 @@
(text-scale-set (if +writing-mode +writing-text-scale 0.0))
(visual-fill-column-adjust))))

(defun +turn-on-writing-mode ()
(interactive)
(+writing-mode 1))

(define-globalized-minor-mode +writing-global-mode +writing-mode +turn-on-writing-mode)


(provide 'me-writing-mode)

Expand Down

0 comments on commit 2cabf08

Please sign in to comment.