Author: troelskntroelskn Date: May 5, 2008 02:02
On 4 Maj, 19:56, bojohan+n...@dd.chalmers.se (Johan Bockgård) wrote:
> troelskn gmail.com> writes:
>> So basically, my-forward-word moves the cursor forward, until it
>> reaches a word-boundary.
>
> (defun my-forward-word (&optional arg)
> (interactive "p")
> (dotimes (n arg)
> (goto-char (1+ (point)))
> (re-search-forward "\\b" nil t)))
>
Exactly what I was trying to accomplish. Thanks a bunch!
--
troels
|