0

I'm trying to modify the appearance of customize buffers. I managed to modify the button but I did not find how to change the appearance of the checkbox nor the dropdown indicator (▽). Ideally I would like to replace them with corresponding unicode glyphs. You can see what is the "real" character using describe-char but I'm a bit clueless on where the translation into images occurs and how to modify it.

enter image description here

0

Checkboxes can be disabled using: (setq widget-image-enable nil) and will appear as [ ] or [X] that can be then prettified:

(setq widget-image-enable nil)
(add-hook 'custom-mode-hook (lambda ()
   "Beautify custom checkbox symbol"
   (push '("[ ]" . "☐") prettify-symbols-alist)
   (push '("[X]" . "☑" ) prettify-symbols-alist)
   (prettify-symbols-mode)))
| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.