help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: Regex Problem


From: John Paul Wallington
Subject: Re: Regex Problem
Date: Mon, 21 Jul 2008 17:23:16 +0100
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.990 (windows-nt)

Xah <address@hidden> writes:

> (setq mytext (buffer-substring-no-properties (point) (1+ (buffer-
> size))))

Just a nitpick: in general you want to use `point-max' rather than
(1+ (buffer-size)) to take into account any narrowing.


reply via email to

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