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

* lisp/view.el (view-buffer): Revert 2011-07-19T15:01:49Z! from 2011-07-19.

Fixes: debbugs:8615
parent c0bc0fd4
2011-11-24 Juri Linkov <>
* view.el (view-buffer): Revert 2011-07-19T15:01:49Z! from 2011-07-19 (bug#8615).
2011-11-24 Glenn Morris <>
* mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
......@@ -311,10 +311,9 @@ file: Users may suspend viewing in order to modify the buffer.
Exiting View mode will then discard the user's edits. Setting
EXIT-ACTION to `kill-buffer-if-not-modified' avoids this."
(interactive "bView buffer: ")
(if (with-current-buffer buffer
(and (eq (get major-mode 'mode-class)
(null buffer-file-name)))
(if (eq (with-current-buffer buffer
(get major-mode 'mode-class))
(switch-to-buffer buffer)
(message "Not using View mode because the major mode is special"))
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