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

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.

Leo