summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>1994-09-03 23:33:50 +0000
committerRichard M. Stallman <rms@gnu.org>1994-09-03 23:33:50 +0000
commite55e22671daabfd546e692fd1ca172a56555bb09 (patch)
treec0978b0374798efaccf439bee969f2497753adc1
parenta8e0effbfb643b914fc9e1b5555b9bc21f2c57fd (diff)
downloademacs-e55e22671daabfd546e692fd1ca172a56555bb09.tar.gz
(mark-ring): Add permanent-local prop. Doc fix.
-rw-r--r--lisp/simple.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/lisp/simple.el b/lisp/simple.el
index 1725dd6585b..c26690c9ca3 100644
--- a/lisp/simple.el
+++ b/lisp/simple.el
@@ -1343,9 +1343,9 @@ store it in a Lisp variable. Example:
(set-marker (mark-marker) nil)))
(defvar mark-ring nil
- "The list of saved former marks of the current buffer,
-most recent first.")
+ "The list of former marks of the current buffer, most recent first.")
(make-variable-buffer-local 'mark-ring)
+(put 'mark-ring 'permanent-local t)
(defconst mark-ring-max 16
"*Maximum size of mark ring. Start discarding off end if gets this big.")