|
From: | Andreas Röhler |
Subject: | (copy-marker nil) |
Date: | Mon, 7 May 2018 10:19:31 +0200 |
User-agent: | Mozilla/5.0 (X11; Linux i686; rv:52.0) Gecko/20100101 Thunderbird/52.7.0 |
Hi, 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?Wanted to check for a valid buffer position, which doesn't seem possible that way. While without copy-marker, the variable a would be set to nil, now the result evaluates to #<marker in no buffer>, which is a kind of t.
Cheers, Andreas
[Prev in Thread] | Current Thread | [Next in Thread] |