Derek Chen-Becker <[email protected]> writes: > I think I have most of the patch fixed up based on the other feedback, but > I'm having some difficulty with customization. I think I have the > customization correct, but I can't figure out how to test that validation > operates on any values. I don't see anything in the current unit tests for > `org-property-separators' to reject bad values or otherwise validate > values. Here's what I currently have for `org-priority-highest`: > ... > This does validate things if I use the customize interface, but is there a > way to do it programmatically so that I can unit test it? I found > `customize-set-value' and `customize-set-variable' but neither of those > seem like the right function.
See how it is done in `setopt--set'. -- Ihor Radchenko // yantar92, Org mode maintainer, Learn more about Org mode at <https://orgmode.org/>. Support Org development at <https://liberapay.com/org-mode>, or support my work at <https://liberapay.com/yantar92>
