emacs-devel
[Top][All Lists]
Advanced

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

Re: mark-word


From: Lennart Borgman (gmail)
Subject: Re: mark-word
Date: Wed, 14 Nov 2007 20:07:59 +0100
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.6) Gecko/20070728 Thunderbird/2.0.0.6 Mnenhy/0.7.5.666

Stephen J. Turnbull wrote:
Andreas Röhler writes:

 > What about this?
> > (defun mark-word-at-point ()
 >   " "
 >   (interactive)
 >   (beginning-of-thing 'word)
 >   (push-mark nil nil t)
 >   (end-of-thing 'word))

The name is not descriptive of how it differs from `mark-word';
`mark-word' already has "at point" semantics.

Is there a mark-thing-at-point? If there were then mark-word-at-point could be implemented using that.




reply via email to

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