From 9284000e100d7c41be17edfe4a643263e3dc13b0 Mon Sep 17 00:00:00 2001 From: Juanma Barranquero Date: Wed, 5 Mar 2014 17:22:47 +0100 Subject: [PATCH] lisp/frameset.el (frameset--initial-params): Filter out null entries. --- lisp/ChangeLog | 4 ++++ lisp/frameset.el | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 579acdb90c5..7ee1f2f21ec 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,7 @@ +2014-03-05 Juanma Barranquero + + * frameset.el (frameset--initial-params): Filter out null entries. + 2014-03-05 Martin Rudalics * window.el (window-min-height, window-min-width): Rewrite diff --git a/lisp/frameset.el b/lisp/frameset.el index f0d38d911f3..6fd23f739ae 100644 --- a/lisp/frameset.el +++ b/lisp/frameset.el @@ -941,7 +941,7 @@ Setting position and size parameters as soon as possible helps reducing flickering; other parameters, like `minibuffer' and `border-width', can not be changed once the frame has been created. Internal use only." (cl-loop for param in '(left top with height border-width minibuffer) - collect (assq param parameters))) + when (assq param parameters) collect it)) (defun frameset--restore-frame (parameters window-state filters force-onscreen) "Set up and return a frame according to its saved state. -- 2.11.4.GIT