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

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

bug#6419: A suggestion for easier editing of lists in Custom buffers


From: Mauro Aranda
Subject: bug#6419: A suggestion for easier editing of lists in Custom buffers
Date: Thu, 22 Oct 2020 09:03:45 -0300

Lars Ingebrigtsen <larsi@gnus.org> writes:

> Mauro Aranda <maurooaranda@gmail.com> writes:
>
>> Yes, here it is.  I fixed the typo, and tried to improve
>> the help-echo of the INS button.
>
> Thanks, applied to Emacs 28 with one super-minor tweak:
>
>> +          (last-deleted (let ((lst (widget-get widget :last-deleted)))
>> +                          (and lst (prog1 (pop lst)
>> +                                     (widget-put widget :last-deleted lst))))
>
> I made this into a `when-let' instead of the let+and.

Noticed.  Thanks!

reply via email to

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