[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Possible emacs bug.
From: |
Charlie |
Subject: |
Re: Possible emacs bug. |
Date: |
Wed, 20 Nov 2002 13:39:38 -0000 |
That was easy but I couldn't have figured it out.
Thank-you.
"Edric M Ellis" <eellis@mathworks.co.uk> wrote in message
ubs4k8jge.fsf@eellis.mathworks.co.uk">news:ubs4k8jge.fsf@eellis.mathworks.co.uk...
> This seems to be because of the way ``beginning-of-defun'' works. It's
> looking for a "(" at the start of a line. If you want to force it to
> look for "(defun" at the beginning of a line, you could do this:
>
> (setq beginning-of-defun-function (lambda nil
> (re-search-backward "^(defun")))