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

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

Re: DWIM region


From: Emanuel Berg
Subject: Re: DWIM region
Date: Fri, 05 Jan 2018 00:09:22 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4 (gnu/linux)

Stefan Monnier wrote:

> 2 "errors": - you should check `use-region-p`
> instead of `mark-active`. - `region` should
> be an argument, so the use-region-p check is
> performed in the interactive spec rather than
> in the body of the function:

The byte compiler should warn about
`mark-active' if you aren't allowed to use that
ever - perhaps difficult to implement if indeed
OK in other circumstances...?

The rest I agree is better, thank you!

Oh, no! Now I "have to" change tons of defuns
that does this :)

-- 
underground experts united
http://user.it.uu.se/~embe8573


reply via email to

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