[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#1277: 23.0.60; select_window_norecord chokes on dead window
From: |
Chong Yidong |
Subject: |
bug#1277: 23.0.60; select_window_norecord chokes on dead window |
Date: |
Thu, 30 Oct 2008 19:16:25 -0400 |
> (progn
> (setq debug-on-error t)
> (set-frame-height (selected-frame) 10)
> (split-window)
> (temp-buffer-resize-mode)
> (setq temp-buffer-max-height 20))
>
> and do
>
> C-h v temp-buffer-max-height
>
> Gets me
>
> Debugger entered--Lisp error: (wrong-type-argument window-live-p #<window 3>)
> describe-variable(temp-buffer-max-height)
> call-interactively(describe-variable nil nil)
>
> FWIW, the reason is that `fit-window-to-buffer' deletes prev_window
> temp_output_buffer_show eventually wants to resurrect after running
> `temp-buffer-show-hook'. The attached patch fixes this for me.
Looks OK to me.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- bug#1277: 23.0.60; select_window_norecord chokes on dead window,
Chong Yidong <=