diff options
author | Roland McGrath <roland@gnu.org> | 1993-03-31 23:12:07 +0000 |
---|---|---|
committer | Roland McGrath <roland@gnu.org> | 1993-03-31 23:12:07 +0000 |
commit | 54d1c8face2bcd175da82c1805e56b8b22e869e6 (patch) | |
tree | dbf7d82de6aff570af30fd2431291bbc8a25c42b /lisp/view.el | |
parent | 03329370c2fc00d94e446858d598c368df284284 (diff) | |
download | emacs-54d1c8face2bcd175da82c1805e56b8b22e869e6.tar.gz |
(view-exit): Use local map view-old-local-map, not (current-local-map).
Diffstat (limited to 'lisp/view.el')
-rw-r--r-- | lisp/view.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/view.el b/lisp/view.el index a4b6442beb0..5648a016ea1 100644 --- a/lisp/view.el +++ b/lisp/view.el @@ -268,7 +268,7 @@ If you viewed a file that was not present in Emacs, its buffer is killed." view-old-mode-line-buffer-identification) (setq major-mode view-old-major-mode) (setq mode-name view-old-mode-name) - (use-local-map (current-local-map)) + (use-local-map view-old-local-map) (setq buffer-read-only view-old-buffer-read-only) (goto-char view-exit-position) |