[Top][All Lists]

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

Re: which-function => DEFUN?

From: Juanma Barranquero
Subject: Re: which-function => DEFUN?
Date: Mon, 10 May 2010 17:09:54 +0200

On Mon, May 10, 2010 at 16:39, Lennart Borgman
<address@hidden> wrote:

>        ;; Check if we are at the beginning of the function already
>        (unless (eobp) (forward-char))

Yes, nice catch. Thanks.

>        (beginning-of-defun)
>        (when (< here (point)) (beginning-of-defun))

What does this protect against?

And, why did you go for (let ((here (point))) ...) instead of
`save-excursion'? Efficiency?


reply via email to

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