|
From: | Perry Smith |
Subject: | Re: How to programmatically highlight region? |
Date: | Wed, 15 Nov 2006 15:41:21 -0600 |
On Nov 15, 2006, at 2:10 PM, David Abrahams wrote:
(defun dog-test () (interactive) (transient-mark-mode 1) (set-mark (point)) (forward-char 20)) execute dog-test from the minibuffer and the current point plus 20 characters are highlighted -- basically just turn on transient mark more, set point and mark, and thats it. HTH, Perry Smith Ease Software, Inc. |
[Prev in Thread] | Current Thread | [Next in Thread] |