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

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

Re: disable region after running a command on it


From: Eli Zaretskii
Subject: Re: disable region after running a command on it
Date: Tue, 13 Dec 2022 15:13:53 +0200

> From: Luca Ferrari <fluca1978@gmail.com>
> Date: Tue, 13 Dec 2022 12:18:40 +0100
> 
> is there a way to disable a region every time a command has been run
> on it? For example, I mark a region, M-x eval-region and I would like
> that the region selection disappear.

Add deactivate-mark to your post-command-hook?



reply via email to

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