bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#902: select-active-regions only half-working


From: Stefan Monnier
Subject: bug#902: select-active-regions only half-working
Date: Wed, 10 Sep 2008 12:37:45 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux)

> +        (save-excursion
> +          (set-buffer value)

Aka "(with-current-buffer value".
Again, since this code is present at several places, move it into its
own function.  Basically this function could turn the buffer value into
a "cons of markers" value, so you can use it everywhere and reuse the
code that handles a cons of markers.

Also the select-active-regions docstring shouldn't recommend to turn on
transient-mark-mode since it's already ON by default.


        Stefan






reply via email to

[Prev in Thread] Current Thread [Next in Thread]