Mercurial > emacs
changeset 25220:08b62bd09c92
(after-find-file): Disable View mode if buffer is no
longer read-only.
author | Karl Heuer <kwzh@gnu.org> |
---|---|
date | Tue, 10 Aug 1999 16:40:14 +0000 |
parents | 1b99ab7ab219 |
children | 84b8027adceb |
files | lisp/files.el |
diffstat | 1 files changed, 2 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/lisp/files.el Tue Aug 10 16:40:00 1999 +0000 +++ b/lisp/files.el Tue Aug 10 16:40:14 1999 +0000 @@ -1195,6 +1195,8 @@ (auto-save-mode t))) (if nomodes nil + (and view-read-only view-mode + (view-mode-disable)) (normal-mode t) (if (and buffer-read-only view-read-only (not (eq (get major-mode 'mode-class) 'special)))