HCoop
/
bpt
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
14f67fa
)
(view-exit): Delete view-overlay only if it exists.
author
Erik Naggum
<erik@naggum.no>
Sun, 8 Oct 1995 19:59:42 +0000
(19:59 +0000)
committer
Erik Naggum
<erik@naggum.no>
Sun, 8 Oct 1995 19:59:42 +0000
(19:59 +0000)
lisp/view.el
patch
|
blob
|
blame
|
history
diff --git
a/lisp/view.el
b/lisp/view.el
index
6734c05
..
5e3069e
100644
(file)
--- a/
lisp/view.el
+++ b/
lisp/view.el
@@
-264,7
+264,7
@@
If you viewed an existing buffer, that buffer returns to its previous mode.
If you viewed a file that was not present in Emacs, its buffer is killed."
(interactive)
(setq view-mode nil)
- (
delete-overlay view-overlay
)
+ (
and view-overlay (delete-overlay view-overlay)
)
(force-mode-line-update)
(cond (view-mode-auto-exit
(setq buffer-read-only view-old-buffer-read-only)