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

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

Re: Alt-v behavior near beginning of buffer


From: Kevin Rodgers
Subject: Re: Alt-v behavior near beginning of buffer
Date: Tue, 30 Jan 2007 22:10:39 -0700
User-agent: Thunderbird 1.5.0.9 (Macintosh/20061207)

Matthew Flaschen wrote:
Kevin Rodgers wrote:
    (progn
      (goto-char (point-max))
      (beginning-of-line))

Thanks, that's a bit simpler.  I'd seen that command before, but forgot
it (and probably never really understood what it did).

<pedantic>
progn is technically not a command, which is a function with an
interactive form at the beginning of its body (optionally preceded by a
doc string).  progn is actually a special form, which is a primitive
function (i.e. implemented in C) whose arguments are not evaluated before being passed to the function: instead, the special form is responsible for evaluating them as desired.

See the "Function Type", "Primitive Function Type", "Special Forms", and
"Defining Commands" nodes of the Emacs Lisp manual.
</pedantic>

--
Kevin Rodgers
Denver, Colorado, USA





reply via email to

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