|
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 <xahlee@gmail.com> 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.
[Prev in Thread] | Current Thread | [Next in Thread] |