summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorCase Duckworth2022-01-10 23:52:11 -0600
committerCase Duckworth2022-01-10 23:52:11 -0600
commit4d1605ce45ef684176672830bec34173862b2cd1 (patch)
treec0e69029a1ff0f1fef5a38cba41fc99d3cea35d1
parentFix bug (diff)
downloademacs-4d1605ce45ef684176672830bec34173862b2cd1.tar.gz
emacs-4d1605ce45ef684176672830bec34173862b2cd1.zip
Hook reading-mode into view-mode
I need to fix reading-mode, however.
-rw-r--r--init.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/init.el b/init.el index f0a93a6..9722a64 100644 --- a/init.el +++ b/init.el
@@ -113,7 +113,8 @@
113 (+ensure-after-init #'+pulse-location-mode)) 113 (+ensure-after-init #'+pulse-location-mode))
114 114
115(setup (:require reading) 115(setup (:require reading)
116 (:global "C-c C-r" #'reading-mode)) 116 (:hook-into view-mode) ; XXX doesn't go back
117 )
117 118
118(setup (:require user-save) 119(setup (:require user-save)
119 (add-hook 'user-save-hook #'+clean-empty-lines) 120 (add-hook 'user-save-hook #'+clean-empty-lines)