emacs-pretest-bug
[Top][All Lists]
Advanced

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

Re: beginning-of-defun


From: Thien-Thi Nguyen
Subject: Re: beginning-of-defun
Date: 08 Jul 2006 09:40:03 -0400
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.4

Andreas Roehler <address@hidden> writes:

> Wrong, as at the start of the enclosing form.

well, "defun" here actually means "top-level form";
the command works w/ all kinds of sexps, whether or not
they are actually `defun's.

the way to make the behavior arbitrarily more precise is
to customize `beginning-of-defun-function'.  for example,
see `python-beginning-of-defun' in progmodes/python.el.

thi





reply via email to

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