Fix bug in acdw-reading.el

This commit is contained in:
Case Duckworth 2021-09-30 18:23:15 -05:00
parent c57cdb05c7
commit 4873990a70

View File

@ -39,14 +39,16 @@
(when (fboundp mode)
(set (make-local-variable
(intern (format "//%s" mode)))
(symbol-value mode))
(and (boundp mode)
(symbol-value mode)))
(funcall mode -1)))
;; enable modes
(dolist (mode '(olivetti-mode))
(when (fboundp mode)
(set (make-local-variable
(intern (format "//%s" mode)))
(symbol-value mode))
(and (boundp mode)
(symbol-value mode)))
(funcall mode +1))))
;; turn off
;; restore settings