Commit d1d33062 authored by Tassilo Horn's avatar Tassilo Horn
Browse files

* doc-view.el (doc-view-mode): Switch off view-mode explicitly,

	because it could be enabled automatically if view-read-only is
	non-nil.
parent a34d8565
2009-11-24 Tassilo Horn <tassilo@member.fsf.org>
* doc-view.el (doc-view-mode): Switch off view-mode explicitly,
because it could be enabled automatically if view-read-only is
non-nil.
2009-11-24 Michael Kifer <kifer@cs.stonybrook.edu>
* ediff-vers.el (ediff-rcs-get-output-buffer): Revert the change
made on 2009-11-22.
2009-11-24 Glenn Morris <rgm@gnu.org>
* bookmark.el (bookmark-bmenu-hide-filenames): Remove assignment to
......
......@@ -1254,6 +1254,11 @@ toggle between displaying the document or editing it as text.
buffer-read-only t
major-mode 'doc-view-mode)
(doc-view-initiate-display)
;; Switch off view-mode explicitly, because doc-view-mode is the
;; 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)
(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