Commit d8f02b91 authored by Miles Bader's avatar Miles Bader
Browse files

(widget-field-value-delete): Don't try to delete overlay when it's the

`psuedo-overlay' that exists at some points.
parent bcfbd63d
......@@ -1747,7 +1747,7 @@ the earlier input."
(setq widget-field-list (delq widget widget-field-list))
;; These are nil if the :format string doesn't contain `%v'.
(let ((overlay (widget-get widget :field-overlay)))
(when overlay
(when (overlayp overlay)
(delete-overlay overlay))))
(defun widget-field-value-get (widget)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment