mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-02-20 20:07:36 +00:00
* doc-view.el (doc-view-mode): Switch off view-mode explicitly,
because it could be enabled automatically if view-read-only is non-nil.
This commit is contained in:
parent
a34d856516
commit
d1d33062d3
2 changed files with 13 additions and 2 deletions
|
|
@ -1,8 +1,14 @@
|
|||
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
|
||||
|
|
|
|||
Loading…
Reference in a new issue