mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-15 10:30:25 -08:00
Don't delete nil overlays.
This commit is contained in:
parent
834279071a
commit
208920be0d
1 changed files with 4 additions and 2 deletions
|
|
@ -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.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue