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

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

bug#59788: 29.0.60; [PATCH] Make treesit-end-of-defun handle nil node


From: Theodor Thornhill
Subject: bug#59788: 29.0.60; [PATCH] Make treesit-end-of-defun handle nil node
Date: Sat, 03 Dec 2022 08:00:17 +0100


On 3 December 2022 07:33:46 CET, Eli Zaretskii <eliz@gnu.org> wrote:
>> Cc: casouri@gmail.com, eliz@gnu.org
>> From: Theodor Thornhill <theo@thornhill.no>
>> Date: Fri, 02 Dec 2022 21:45:59 +0100
>> 
>> However, I notice that treesit-beginning-of-defun returns t after it is
>> done.  Is there a reason for end-of-defun not to return the same?
>
>The return value of end-of-defun is not documented, so it can be anything.

Ok thanks, then I think this patch is ok now :)

Theo





reply via email to

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