From d8f02b9137aace7f2f3bf541ae0df8877c9d4102 Mon Sep 17 00:00:00 2001 From: Miles Bader Date: Sat, 25 Nov 2000 02:14:53 +0000 Subject: [PATCH] (widget-field-value-delete): Don't try to delete overlay when it's the `psuedo-overlay' that exists at some points. --- lisp/wid-edit.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lisp/wid-edit.el b/lisp/wid-edit.el index db65fc1dfd4..37454280445 100644 --- a/lisp/wid-edit.el +++ b/lisp/wid-edit.el @@ -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) -- 2.39.2