[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: (push-mark N t t) doesn't activate region in virgin buffer
From: |
Johan Bockgård |
Subject: |
Re: (push-mark N t t) doesn't activate region in virgin buffer |
Date: |
Tue, 20 Feb 2007 19:27:30 +0100 |
User-agent: |
Gnus/5.110006 (No Gnus v0.6) Emacs/22.0.93 (gnu/linux) |
"Drew Adams" <address@hidden> writes:
> emacs -Q
> M-x transient-mark-mode ; turn it on
> M-: (goto-char (point-min))
> M-: (mark t) ; returns nil
> M-: (push-mark 20 t t)
> M-: (mark t) ; returns 20
> M-: mark-active ; returns nil
>
> The region is not activated by the call to push-mark
Yes, it is. Your recipe doesn't prove what you think it proves.
(progn
(push-mark 20 t t)
mark-active)
=> t
--
Johan Bockgård