summaryrefslogtreecommitdiff
path: root/lisp/simple.el
diff options
context:
space:
mode:
Diffstat (limited to 'lisp/simple.el')
-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.")