unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* getting string from buffer
@ 2003-11-13 23:46 Miguel Frasson
  2003-11-13 23:57 ` Jesper Harder
  0 siblings, 1 reply; 2+ messages in thread
From: Miguel Frasson @ 2003-11-13 23:46 UTC (permalink / raw)



Hi.

Suppose that I have a region BEG END and I want to set the text in this
region to a variable. I have not found the proper function. 

Thanks

Miguel.

-- 
Miguel Vinicius Santini Frasson
http://www.math.leidenuniv.nl/~frasson

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

* Re: getting string from buffer
  2003-11-13 23:46 getting string from buffer Miguel Frasson
@ 2003-11-13 23:57 ` Jesper Harder
  0 siblings, 0 replies; 2+ messages in thread
From: Jesper Harder @ 2003-11-13 23:57 UTC (permalink / raw)


Miguel Frasson <frasson@brutus.math.leidenuniv.nl> writes:

> Suppose that I have a region BEG END and I want to set the text in
> this region to a variable. I have not found the proper function.

(setq var (buffer-substring beg end))

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

end of thread, other threads:[~2003-11-13 23:57 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-11-13 23:46 getting string from buffer Miguel Frasson
2003-11-13 23:57 ` Jesper Harder

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).