lisp/frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
authorJuanma Barranquero <lekktu@gmail.com>
Sun, 11 Aug 2013 03:09:21 +0000 (05:09 +0200)
committerJuanma Barranquero <lekktu@gmail.com>
Sun, 11 Aug 2013 03:09:21 +0000 (05:09 +0200)
lisp/ChangeLog
lisp/frameset.el

index ed1aa7c..ac360a3 100644 (file)
@@ -1,3 +1,7 @@
+2013-08-11  Juanma Barranquero  <lekktu@gmail.com>
+
+       * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
+
 2013-08-10  Juanma Barranquero  <lekktu@gmail.com>
 
        * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
index 132cbcd..a347599 100644 (file)
@@ -156,7 +156,7 @@ a valid one, and the frameset version if it is valid."
        (stringp (or (aref object 4) ""))  ; NAME is a string or nil
        (stringp (or (aref object 5) ""))  ; DESCRIPTION is a string or nil
        (listp (aref object 6))            ; PROPERTIES is a list
-       (consp (aref object 7))            ; and STATES is non-nil
+       (listp (aref object 7))            ; and STATES is, too
        (cl-every #'consp (aref object 7)) ; and an alist
        (aref object 1)))                  ; return VERSION