GNU bug report logs -
#49274
[PATCH] lisp/cus-theme: retain documentation string when customizing theme
Previous Next
Reported by: Christopher League <league <at> contrapunctus.net>
Date: Tue, 29 Jun 2021 15:34:01 UTC
Severity: normal
Tags: fixed, patch
Fixed in version 28.1
Done: Mauro Aranda <maurooaranda <at> gmail.com>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
Christopher League <league <at> contrapunctus.net> writes:
> On 2021-06-29 20:03, Mauro Aranda wrote:
>> That's because there was a change to the :format property of the text
>> widget, but this call wasn't updated. Try overriding it like this:
>> (widget-create 'text :format "%v" ...)
>>
>> The above should make it work. Please try it, thank you.
>
> Yes, that works. I'm including an updated patch below. Thanks. CL
>
[...]
> + (widget-insert "Description: ")
> + (setq custom-theme-description
> + (widget-create 'editable-field
> + :value (or (get theme 'theme-documentation)
> + (format-time-string "Created %Y-%m-%d."))))
Did you send the old one by mistake?
Also, please format the commit message according to the Emacs
conventions: see the file CONTRIBUTE and the "Commit messages" section
in particular.
This bug report was last modified 4 years and 9 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.