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: Lars Ingebrigtsen
Subject: bug#6419: A suggestion for easier editing of lists in Custom buffers
Date: Thu, 22 Oct 2020 13:54:08 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

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.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no





reply via email to

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