unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#24332: 25.1; pop-to-buffer error: (wrong-type-argument window-live-p nil)
@ 2016-08-30  2:48 Leo Liu
  2016-08-30 10:33 ` martin rudalics
  0 siblings, 1 reply; 3+ messages in thread
From: Leo Liu @ 2016-08-30  2:48 UTC (permalink / raw)
  To: 24332


pop-to-buffer assumes display-buffer always return a window and
(select-window window norecord) but it can cause error like this (due to
(allow-no-window . t)):

Debugger entered--Lisp error: (wrong-type-argument window-live-p nil)
  select-window(nil nil)
  pop-to-buffer("*compile*" t nil)
  switch-to-buffer-other-window("*compile*")
  ido-visit-buffer("*compile*" other-window t)
  ido-buffer-internal(other-window switch-to-buffer-other-window)
  ido-switch-buffer-other-window()
  funcall-interactively(ido-switch-buffer-other-window)
  call-interactively(ido-switch-buffer-other-window nil nil)
  command-execute(ido-switch-buffer-other-window)





^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2016-08-30 16:12 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-08-30  2:48 bug#24332: 25.1; pop-to-buffer error: (wrong-type-argument window-live-p nil) Leo Liu
2016-08-30 10:33 ` martin rudalics
2016-08-30 16:12   ` Leo Liu

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).