[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: (copy-marker nil)
From: |
Noam Postavsky |
Subject: |
Re: (copy-marker nil) |
Date: |
Mon, 7 May 2018 09:55:52 -0400 |
On 7 May 2018 at 04:19, Andreas Röhler <andreas.roehler@easy-emacs.de> wrote:
> being surprised WRT behavior of copy-marker:
>
> (setq a (copy-marker nil)) -> #<marker in no buffer>
> (markerp a) -> t
> a -> #<marker in no buffer>
>
> Is taking nil by copy-marker reasonable?
For most functions, passing nil for an &optional parameter is the same
as omitting it.
(copy-marker &optional MARKER TYPE)
[...]
If MARKER is not specified, the new marker does not point anywhere.
- (copy-marker nil), Andreas Röhler, 2018/05/07
- Re: (copy-marker nil), John Mastro, 2018/05/07
- Re: (copy-marker nil),
Noam Postavsky <=
- Re: (copy-marker nil), Andreas Röhler, 2018/05/07
- RE: (copy-marker nil), Drew Adams, 2018/05/07
- Re: (copy-marker nil), Andreas Röhler, 2018/05/07
- Re: (copy-marker nil), Stefan Monnier, 2018/05/07
- Re: (copy-marker nil), Andreas Röhler, 2018/05/08
- Re: (copy-marker nil), Stefan Monnier, 2018/05/12