[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: |
Marcin Borkowski |
Subject: |
Re: beginning-of-defun-comments bug [was: Re: 26.0.90: mark-defun problem in c-mode] |
Date: |
Sun, 07 Jan 2018 07:25:04 +0100 |
User-agent: |
mu4e 0.9.19; emacs 27.0.50 |
On 2018-01-06, at 13:00, Alan Mackenzie <address@hidden> wrote:
> There was a long discussion about this and related matters on
> emacs-devel about a year ago, I think. I'm assuming that this marking of
> the preceding comment is in accordance with that thread on emacs-devel.
More or less, yes.
The rationale is that in many languages, the comment preceding the
function is basically its docstring. Thus marking the function should
also mark that comment.
> I've committed the change to the emacs-26 branch.
Thanks a lot for working on this.
Best,
--
Marcin Borkowski