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

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

Re: How modify numbers in a region by a multiplier?


From: Juanma Barranquero
Subject: Re: How modify numbers in a region by a multiplier?
Date: Fri, 2 Jul 2010 11:33:12 +0200

On Fri, Jul 2, 2010 at 08:41, Seweryn Kokot <sewkokot@gmail.com> wrote:

>      (setq end (point-max)))
>        (setq end-mark (copy-marker end))

There's `point-max-marker'.

>        (while (re-search-forward "\\([0-9.]+\\)" (marker-position end-mark) t)

In many cases, you can pass a marker to an Emacs primitive as if it
were a number; i.e.,

>        (while (re-search-forward "\\([0-9.]+\\)" end-mark t)

should work.

    Juanma



reply via email to

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