changeset 27711:bc335df29000

2000-02-02 Per Abrahamsen <abraham@dina.kvl.dk> * wid-edit.el (widget-match-inline): An atom never matches a list.
author Dave Love <fx@gnu.org>
date Wed, 16 Feb 2000 13:25:52 +0000
parents 8127d5664998
children 76dbd1e9ae45
files lisp/wid-edit.el
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/wid-edit.el	Wed Feb 16 00:36:27 2000 +0000
+++ b/lisp/wid-edit.el	Wed Feb 16 13:25:52 2000 +0000
@@ -474,7 +474,7 @@
   "In WIDGET, match the start of VALS."
   (cond ((widget-get widget :inline)
 	 (widget-apply widget :match-inline vals))
-	((and vals
+	((and (listp vals)
 	      (widget-apply widget :match (car vals)))
 	 (cons (list (car vals)) (cdr vals)))
 	(t nil)))