[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: garbace collection of point-markers
From: |
Pascal Bourguignon |
Subject: |
Re: garbace collection of point-markers |
Date: |
31 Jan 2003 11:10:34 +0100 |
User-agent: |
Gnus/5.09 (Gnus v5.9.0) Emacs/21.2 |
kamphausen@creativepharma.com (Stefan Kamphausen) writes:
> Dear ElispWizards,
>
> when I call (point-marker) and don't store the return value in a
> variable will that marker be removed at the next garbage collection?
It seems so:
(show (let ((curpt (point)))
(set-marker (make-marker) curpt)
(cons (buffer-has-markers-at curpt)
(progn (garbage-collect)
(buffer-has-markers-at curpt)))))
==> (t . t)
> Or does the DONT-COPY-P argument achieve this?
Not even needed. What is it? Note that in emacs, the reader does not
convert-case the symbols. So (not (eq 'DONT-COPY-P 'dont-copy-p))
--
__Pascal_Bourguignon__ http://www.informatimago.com/
----------------------------------------------------------------------
There is a fault in reality. Do not adjust your minds. -- Salman Rushdie
Re: garbace collection of point-markers, Kevin Rodgers, 2003/01/31