(mark-ring): Add permanent-local prop. Doc fix.
This commit is contained in:
parent
a8e0effbfb
commit
e55e22671d
1 changed files with 2 additions and 2 deletions
|
@ -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.")
|
||||
|
|
Loading…
Add table
Reference in a new issue