Commit bde04ea9 authored by Juri Linkov's avatar Juri Linkov
Browse files

(doc-view-mode): Set buffer-local `view-read-only' to nil

instead of switching off view-mode.  (Bug#4896)
parent 7d6b4d3c
2009-11-25 Juri Linkov <juri@jurta.org>
* doc-view.el (doc-view-mode): Set buffer-local `view-read-only'
to nil instead of switching off view-mode. (Bug#4896)
2009-11-25 Juri Linkov <juri@jurta.org>
Mouse-wheel scrolling for DocView Continuous mode. (Bug#4896)
......
......@@ -1272,7 +1272,7 @@ toggle between displaying the document or editing it as text.
;; canonical view mode for PDF/PS/DVI files. This could be
;; switched on automatically depending on the value of
;; `view-read-only'.
(view-mode -1)
(set (make-local-variable 'view-read-only) nil)
(run-mode-hooks 'doc-view-mode-hook)))
;;;###autoload
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment