lisp/frameset.el (frameset--initial-params): Filter out null entries.

This commit is contained in:
Juanma Barranquero 2014-03-05 17:22:47 +01:00
parent e1a2cb1ce5
commit 9284000e10
2 changed files with 5 additions and 1 deletions

View file

@ -1,3 +1,7 @@
2014-03-05 Juanma Barranquero <lekktu@gmail.com>
* frameset.el (frameset--initial-params): Filter out null entries.
2014-03-05 Martin Rudalics <rudalics@gmx.at>
* window.el (window-min-height, window-min-width): Rewrite

View file

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