[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

recenter after visiting file (with savehist-mode)

From: Jarosław Rzeszótko
Subject: recenter after visiting file (with savehist-mode)
Date: Sat, 9 Feb 2019 12:24:18 +0100

I am trying to get Emacs to recenter the window around point after opening a file with savehist-mode. I tried adding an :after advise to save-place-find-file-hook, I tried setting a global display-buffer function, but no matter what I try I keep getting the dreaded:

`recenter'ing a window that does not display current-buffer.

Does anyone know any way around this?

Jarosław Rzeszótko

reply via email to

[Prev in Thread] Current Thread [Next in Thread]