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

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

Re: About setf extensions


From: Stefan Monnier
Subject: Re: About setf extensions
Date: Fri, 15 Feb 2013 09:48:04 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux)

>      Most of these have directly corresponding "set" functions, like
>      `use-local-map' for `current-local-map', or `goto-char' for
>      `point'.  A few, like `point-min', expand to longer sequences of
>      code when they are used with `setf' (`(narrow-to-region x
>      (point-max))' in this case).

> I don't understand the `point-min' example.  What does the "x" mean
> here?

(setf (point-min) x) gets turned into (narrow-to-region x (point-max)).


        Stefan


reply via email to

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