instead of switching off view-mode. (Bug#4896)
+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)
;; 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