summaryrefslogtreecommitdiff
path: root/lisp/view.el
diff options
context:
space:
mode:
authorKarl Heuer <kwzh@gnu.org>1995-08-15 01:50:33 +0000
committerKarl Heuer <kwzh@gnu.org>1995-08-15 01:50:33 +0000
commit73479d0224b85b392f2fc2f878ff9935c788ec28 (patch)
treede86bffc23dd6ab0ce1aea8e4fac068e82741464 /lisp/view.el
parentbab0c3c1bf2e8f4918f18c8a54bd9fcffb8ece88 (diff)
downloademacs-73479d0224b85b392f2fc2f878ff9935c788ec28.tar.gz
*** empty log message ***
Diffstat (limited to 'lisp/view.el')
-rw-r--r--lisp/view.el10
1 files changed, 0 insertions, 10 deletions
diff --git a/lisp/view.el b/lisp/view.el
index c2aae6e7c15..b7cdb00d2fb 100644
--- a/lisp/view.el
+++ b/lisp/view.el
@@ -187,9 +187,6 @@ Entry to this mode runs the normal hook `view-mode-hook'.
; if you call it without passing a buffer as argument
; and they are not easy to fix.
; (interactive)
- (make-local-variable 'view-old-mode-line-buffer-identification)
- (setq view-old-mode-line-buffer-identification
- mode-line-buffer-identification)
(make-local-variable 'view-old-buffer-read-only)
(setq view-old-buffer-read-only buffer-read-only)
(make-local-variable 'view-old-local-map)
@@ -199,11 +196,6 @@ Entry to this mode runs the normal hook `view-mode-hook'.
(and (boundp 'Helper-return-blurb) Helper-return-blurb))
(setq buffer-read-only t)
- (setq mode-line-buffer-identification
- (list
- (if (buffer-file-name)
- "Viewing %f"
- "Viewing %b")))
(setq view-mode t)
(setq Helper-return-blurb
(format "continue viewing %s"
@@ -237,8 +229,6 @@ Entry to this mode runs the normal hook `view-mode-hook'.
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 mode-line-buffer-identification
- view-old-mode-line-buffer-identification)
(use-local-map view-old-local-map)
(setq buffer-read-only view-old-buffer-read-only)