[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#16728: 24.3.50; bug? (with-temp-buffer (insert "foo")) deactivates m
From: |
Helmut Eller |
Subject: |
bug#16728: 24.3.50; bug? (with-temp-buffer (insert "foo")) deactivates mark in current buffer |
Date: |
Wed, 12 Feb 2014 12:54:05 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) |
On Wed, Feb 12 2014, Oleh wrote:
> I'm not sure if it's a bug, that's why I'm asking.
> To reproduce, in *scratch* `mark-whole-buffer` and `eval-expression`
>
> (with-temp-buffer (insert "foo"))
I would also like to know why
(list (with-temp-buffer
(set (make-local-variable 'deactivate-mark) nil)
(insert "foo")
(let (deactivate-mark)
(with-temp-buffer
(insert "bar"))))
deactivate-mark)
returns (nil t) instead of (nil nil).
Helmut