[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
region-active-p et al
From: |
Andreas Röhler |
Subject: |
region-active-p et al |
Date: |
Mon, 2 Jan 2017 12:50:35 +0100 |
User-agent: |
Mozilla/5.0 (X11; Linux i686; rv:45.0) Gecko/20100101 Icedove/45.5.1 |
Happy new year!
Got a bug-report at
https://gitlab.com/python-mode-devs/python-mode/issues/27 which points
me at a quirk in region-active-p:
Questioning transient-mark-mode does not belong here. It's a
user/convenience thing whilst
region-active-p is a core thing.
A work-around in python-mode.el would ask (and (mark) (not (eq (mark)
(point)))) instead of
region-active-p resp. use-region-p.
Cheers,
Andreas
- region-active-p et al,
Andreas Röhler <=