help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: how can I run commands when window displays a different buffer?


From: Amos Bird
Subject: Re: how can I run commands when window displays a different buffer?
Date: Fri, 27 Oct 2017 20:46:14 +0800
User-agent: mu4e 0.9.19; emacs 25.3.1


Hi Modi,

I'd like to add a (recenter) command after all these commands.

regards,

Kaushal Modi <kaushal.modi@gmail.com> writes:

On Fri, Oct 27, 2017 at 8:05 AM Amos Bird <amosbird@gmail.com> wrote:

I know there is a window-configuration-change-hook that covers
this. But I need only the subset of the hook. What can I do?


The question is too broad.. "window displays a different buffer" -- That
can happen by dozens of different commands: find-file, switch-to-buffer,
pop-to-buffer, etc.

What is your exact use case?


--
Amos Bird
amosbird@gmail.com



reply via email to

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