From: Artur Malabarba <bruce.connor.am@gmail.com>
To: "Andreas Röhler" <andreas.roehler@easy-emacs.de>
Cc: 20600@debbugs.gnu.org
Subject: bug#20600: 24.5.3: add-hook - wrong arguments error
Date: Mon, 18 May 2015 12:54:25 +0100 [thread overview]
Message-ID: <CAAdUY-KAoHPY6Rd0SBUOuOMniPLQO-G4qS_JkiFr_7OYxtuf4Q@mail.gmail.com> (raw)
In-Reply-To: <555979F2.1010705@easy-emacs.de>
[-- Attachment #1: Type: text/plain, Size: 249 bytes --]
The function you present is not a workaround, it's the right way to do this.
Still, it sounds like it might be useful for run-hooks to properly handle
functions whose arity is less than the expected arity.
Does anyone foresee any issues with that?
[-- Attachment #2: Type: text/html, Size: 290 bytes --]
next prev parent reply other threads:[~2015-05-18 11:54 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-05-18 5:34 bug#20600: 24.5.3: add-hook - wrong arguments error Andreas Röhler
2015-05-18 11:54 ` Artur Malabarba [this message]
2015-05-18 14:25 ` Eli Zaretskii
2015-05-18 15:38 ` Artur Malabarba
2015-05-18 17:49 ` Stefan Monnier
2015-05-18 18:22 ` Artur Malabarba
2015-05-18 16:47 ` Stefan Monnier
2015-05-18 17:29 ` Artur Malabarba
2015-05-19 8:17 ` Andreas Röhler
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CAAdUY-KAoHPY6Rd0SBUOuOMniPLQO-G4qS_JkiFr_7OYxtuf4Q@mail.gmail.com \
--to=bruce.connor.am@gmail.com \
--cc=20600@debbugs.gnu.org \
--cc=andreas.roehler@easy-emacs.de \
/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.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.