EUDC: Handle nil BOB button label

* lisp/net/eudc-bob.el (eudc-bob-make-button): Do not throw error
when label is nil.
This commit is contained in:
Thomas Fitzsimmons 2022-04-21 17:24:29 -04:00
parent f8aa771af3
commit 390b637eed

View file

@ -124,7 +124,7 @@ LABEL."
(let (overlay
(p (point))
prop val)
(insert label)
(insert (or label ""))
(put-text-property p (point) 'face 'bold)
(setq overlay (make-overlay p (point)))
(overlay-put overlay 'mouse-face 'highlight)