Commit 208920be authored by Per Abrahamsen's avatar Per Abrahamsen
Browse files

Don't delete nil overlays.

parent 83427907
......@@ -815,8 +815,10 @@ button end points."
(children (widget-get widget :children)))
(set-marker from nil)
(set-marker to nil)
(delete-overlay button)
(delete-overlay field)
(when button
(delete-overlay button))
(when field
(delete-overlay field))
(mapcar 'widget-leave-text children)))
;;; Keymap and Commands.
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