emacs-devel
[Top][All Lists]
Advanced

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

Re: beginning-of-defun-comments bug [was: Re: 26.0.90: mark-defun proble


From: Alan Mackenzie
Subject: Re: beginning-of-defun-comments bug [was: Re: 26.0.90: mark-defun problem in c-mode]
Date: Sun, 31 Dec 2017 10:55:03 +0000
User-agent: Mutt/1.7.2 (2016-11-26)

Hello, Stephen.

On Sat, Dec 30, 2017 at 12:43:02 -0600, Stephen Leake wrote:
> Alan Mackenzie <address@hidden> writes:

> > +          (eol (save-excursion (end-of-line) (point)))

> You can use `line-end-position' for this.

Thanks!  I thought there was some function like that, but I couldn't
find `end-of-line-position', so gave up looking.

As it turns out, there's an already existing function
beginning-of-defun--in-emptyish-line-p in the same place in the code
which I ought to have spotted and used, which I surely will use in the
near future.

> -- 
> -- Stephe

-- 
Alan Mackenzie (Nuremberg, Germany).



reply via email to

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