summaryrefslogtreecommitdiff
path: root/lisp/view.el
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>2004-04-20 20:57:10 +0000
committerRichard M. Stallman <rms@gnu.org>2004-04-20 20:57:10 +0000
commitda932079d0f7a35c0c7567a9c5fd4dbbbe7af077 (patch)
tree99302b0aae9b4946f3f46bc56739832b7e3a66c5 /lisp/view.el
parent5572c97f45698f0ce683444ddbdde8ac98a977a0 (diff)
downloademacs-da932079d0f7a35c0c7567a9c5fd4dbbbe7af077.tar.gz
(view-return-to-alist): Mark it permanent local.
Diffstat (limited to 'lisp/view.el')
-rw-r--r--lisp/view.el1
1 files changed, 1 insertions, 0 deletions
diff --git a/lisp/view.el b/lisp/view.el
index 1ee6014c73a..b17cd52ae35 100644
--- a/lisp/view.el
+++ b/lisp/view.el
@@ -137,6 +137,7 @@ subtracted from by `view-mode-exit' when finished viewing the buffer.
See RETURN-TO-ALIST argument of function `view-mode-exit' for the format of
`view-return-to-alist'.")
(make-variable-buffer-local 'view-return-to-alist)
+(put 'view-return-to-alist 'permanent-local t)
(defvar view-exit-action nil
"nil or a function with one argument (a buffer) called when finished viewing.