Fix bug in acdw-reading.el
This commit is contained in:
parent
c57cdb05c7
commit
4873990a70
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue
Block a user