diff options
author | Case Duckworth | 2022-01-10 23:52:11 -0600 |
---|---|---|
committer | Case Duckworth | 2022-01-10 23:52:11 -0600 |
commit | 4d1605ce45ef684176672830bec34173862b2cd1 (patch) | |
tree | c0e69029a1ff0f1fef5a38cba41fc99d3cea35d1 | |
parent | Fix bug (diff) | |
download | emacs-4d1605ce45ef684176672830bec34173862b2cd1.tar.gz emacs-4d1605ce45ef684176672830bec34173862b2cd1.zip |
Hook reading-mode into view-mode
I need to fix reading-mode, however.
-rw-r--r-- | init.el | 3 |
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) |