Subject: Re: bug#31950: 26.1; skeleton: ‘recenter’ing a window that does not display current-buffer.

From: Eli Zaretskii <[email-masked]>
Date: Sat, 30 Jun 2018 12:08:54 +0300

> From: Leo Liu <[email-masked]>
> Date: Sat, 23 Jun 2018 22:12:06 +0800
> 
> 
> 1. Save this to file t.el
> 
> -------- file t.el --------
> (with-temp-buffer
>   (skeleton-insert '(nil "if" > \n > _ \n "end")))
> ---------------------------
> 
> 2. emacs -batch -l ./t.el
> 
> getting error:
> 
>   ‘recenter’ing a window that does not display current-buffer.

Thanks, I think I fixed this now on the emacs-26 branch.  Please test.