1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-12-18 10:16:51 +00:00

lisp/frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.

This commit is contained in:
Juanma Barranquero 2013-08-11 05:09:21 +02:00
parent 7d652d9768
commit 7ec326db1d
2 changed files with 5 additions and 1 deletions

View 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.

View 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