[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#16752: 24.3.50; pp-to-string deactivates mark
From: |
Helmut Eller |
Subject: |
bug#16752: 24.3.50; pp-to-string deactivates mark |
Date: |
Fri, 14 Feb 2014 12:02:33 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) |
On Fri, Feb 14 2014, Eli Zaretskii wrote:
>> From: Helmut Eller <eller.helmut@gmail.com>
>> Date: Fri, 14 Feb 2014 10:46:08 +0100
>>
>> Evaluating this expression returns:
>>
>> (list deactivate-mark
>> (pp-to-string '1)
>> deactivate-mark)
>>
>> returns (nil "1" t). Deactivating the mark is a surprising and
>> unnecessary side effect.
>
> _Any_ change to _any_ buffer will set deactivate-mark, which is a
> global variable.
What has that do to with pp-to-string? I didn't ask for _any_ change to
_any_ buffer.
Helmut
bug#16752: 24.3.50; pp-to-string deactivates mark, Stefan Monnier, 2014/02/14