unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Dmitry Gutov <dgutov@yandex.ru>
To: Stefan Monnier <monnier@iro.umontreal.ca>, help-gnu-emacs@gnu.org
Subject: Re: buffer local part of a hook
Date: Mon, 7 Mar 2016 17:41:18 +0200	[thread overview]
Message-ID: <5259b4d6-c2f8-5279-1d0f-abd19b10a63c@yandex.ru> (raw)
In-Reply-To: <jwv1t7mtkyr.fsf-monnier+gmane.emacs.help@gnu.org>

On 03/07/2016 04:36 PM, Stefan Monnier wrote:

> No, it's part of the exposed functionality, since add/remove-hook
> specify explicitly with the `local' argument whether the specified
> function should be added-to/removed-from the global or the local part.

So we're fine with users changing the values of hooks directly, without 
using add-hook/remove-hook?



  reply	other threads:[~2016-03-07 15:41 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-03-07 12:52 buffer local part of a hook Matthias Pfeifer
2016-03-07 12:54 ` Dmitry Gutov
2016-03-07 14:36   ` Stefan Monnier
2016-03-07 15:41     ` Dmitry Gutov [this message]
2016-03-07 17:31       ` Stefan Monnier
2016-03-08 13:08         ` Dmitry Gutov
2016-03-08 14:49           ` Stefan Monnier
2016-03-09  3:50             ` Dmitry Gutov
2016-03-09  4:01               ` Stefan Monnier

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=5259b4d6-c2f8-5279-1d0f-abd19b10a63c@yandex.ru \
    --to=dgutov@yandex.ru \
    --cc=help-gnu-emacs@gnu.org \
    --cc=monnier@iro.umontreal.ca \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).