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

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

Re: How to activate hook for a specific buffer...?


From: Emanuel Berg
Subject: Re: How to activate hook for a specific buffer...?
Date: Fri, 27 Apr 2018 19:01:09 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4 (gnu/linux)

Carlo Tambuatco wrote:

> that I want to run only in specific org
> buffers.

Use `when' first in the hook to check if it is
that kind of buffer. If it isn't, nothing will
happen which is what you want.

-- 
underground experts united
http://user.it.uu.se/~embe8573


reply via email to

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