Fix a simple bug in display-buffer-use-some-frame

* lisp/window.el (display-buffer-use-some-frame): Simplify the
predicate, fix TYPE arg to window--display-buffer.
1 job for emacs-26 in 4 seconds (queued for 1 second)
Status Job ID Name Coverage
  Test
failed #367
test

00:00:04

 
Name Stage Failure
failed
test Test There has been a runner system failure, please try again
Running with gitlab-runner 11.4.2 (cf91d5e1)
on gitlab-runner-docker cff9d373
Using Docker executor with image debian:stretch ...
Pulling docker image debian:stretch ...
Using docker image sha256:4879790bd60d439cfe39c063660eef7af525d5f6f1cbb701a14c7cfc11cbfcf7 for debian:stretch ...
ERROR: Job failed (system failure): Error response from daemon: open /var/run/docker/libcontainerd/containerd/90fc111595a4eb4f3bb653e684308925311940f79da2cf1a03414b59a689060b/init/shim-log.json: no such file or directory (executor_docker.go:1015:0s)