unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* What is the difference between `current-word' and `word-at-point'?
@ 2021-03-29  4:56 Marcin Borkowski
  2021-03-29  9:00 ` Philip Kaludercic
  0 siblings, 1 reply; 4+ messages in thread
From: Marcin Borkowski @ 2021-03-29  4:56 UTC (permalink / raw)
  To: Help Gnu Emacs mailing list

Hi all,

it seems Emacs has two functions with a very similar purpose,
`current-word' and `word-at-point'.  I understand some obvious
differences (like that `current-word' can treat "symbol" characters as
constituting a word or not, and `word-at-point' can give the current
word with the properties), but does anyone know

(a) why Emacs has both functions, and

(b) if/when their results can actually differ (apart from the obvious
cases like I mentioned)?

TIA,

-- 
Marcin Borkowski
http://mbork.pl



^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2021-03-29 15:01 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-03-29  4:56 What is the difference between `current-word' and `word-at-point'? Marcin Borkowski
2021-03-29  9:00 ` Philip Kaludercic
2021-03-29 14:56   ` [External] : " Drew Adams
2021-03-29 15:01     ` Philip Kaludercic

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).