emacs-devel
[Top][All Lists]
Advanced

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

Re: find-file-hook, recenter, scroll-conservatively and save-place


From: martin rudalics
Subject: Re: find-file-hook, recenter, scroll-conservatively and save-place
Date: Fri, 01 Feb 2019 10:05:44 +0100

> ..., but
> the first file is simply displayed with switch-to-buffer.  So I guess
> we would have to put a recenter here in startup.el conditional on the
> buffer-local variable that was meant to display-buffer by the
> save-place hook.  Or maybe replace the marked switch-to-buffer call
> with: (display-buffer (...) '(display-buffer-same-window))

Emacs 27 has 'switch-to-buffer-obey-display-actions'.  Can you try
that?

martin



reply via email to

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