From: Juanma Barranquero Date: Wed, 5 Mar 2014 16:22:47 +0000 (+0100) Subject: lisp/frameset.el (frameset--initial-params): Filter out null entries. X-Git-Tag: emacs-24.3.90~279 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=9284000e100d7c41be17edfe4a643263e3dc13b0;p=emacs.git lisp/frameset.el (frameset--initial-params): Filter out null entries. --- 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.