# HG changeset patch # User Per Abrahamsen # Date 1013760263 0 # Node ID 683707b691b80dbc9b53133be0de30e62f40fbba # Parent cc345a1119f4ac8e404a71554a35b43258ddeb83 2002-02-15 Per Abrahamsen * wid-edit.el (widgetp): Made it more robuts. diff -r cc345a1119f4 -r 683707b691b8 lisp/ChangeLog --- a/lisp/ChangeLog Thu Feb 14 20:43:34 2002 +0000 +++ b/lisp/ChangeLog Fri Feb 15 08:04:23 2002 +0000 @@ -1,3 +1,7 @@ +2002-02-15 Per Abrahamsen + + * wid-edit.el (widgetp): Made it more robuts. + 2002-02-14 Per Abrahamsen * facemenu.el (describe-text-done): New function. diff -r cc345a1119f4 -r 683707b691b8 lisp/wid-edit.el --- a/lisp/wid-edit.el Thu Feb 14 20:43:34 2002 +0000 +++ b/lisp/wid-edit.el Fri Feb 15 08:04:23 2002 +0000 @@ -474,7 +474,8 @@ (if (symbolp widget) (get widget 'widget-type) (and (consp widget) - (get (widget-type widget) 'widget-type)))) + (symbolp (car widget)) + (get (car widget) 'widget-type)))) (defun widget-get-indirect (widget property) "In WIDGET, get the value of PROPERTY.