|
From: | Nicolas Richard |
Subject: | Re: How to write the "interactive" form for a command acting on a region |
Date: | Wed, 14 Jan 2015 00:24:00 +0100 |
User-agent: | Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) |
Hello, Marcin Borkowski <mbork@wmi.amu.edu.pl> writes: > (if (use-region-p) > (list (region-beginning) (region-end) t) > (list (point-min) (point-max) t))) You could do (if (use-region-p) (list (region-beginning) (region-end) t) (list nil nil t)) (naive suggestion -- I have no experience !) -- Nicolas Richard
[Prev in Thread] | Current Thread | [Next in Thread] |