unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Glenn Morris <rgm@gnu.org>
To: Jimmy Yuen Ho Wong <wyuenho@gmail.com>
Cc: 4310@emacsbugs.donarmstrong.com
Subject: bug#4310: Flymake standardizing(slightly) patch
Date: Thu, 03 Sep 2009 02:02:05 -0400	[thread overview]
Message-ID: <4pljkwbm76.fsf@fencepost.gnu.org> (raw)
In-Reply-To: <4A9E01DC.3030903@gmail.com> (Jimmy Yuen Ho Wong's message of "Wed, 02 Sep 2009 01:25:48 -0400")

Jimmy Yuen Ho Wong wrote:

> I've added a default keymap and a minor-mode hook to flymake

With regards to the hook part, it already runs flymake-mode-hook, as
you can see eg by:

(add-hook 'flymake-mode-hook (lambda () (error "foo")))

The define-minor-mode macro takes care of this. There is no need for a
hook to be defvar'd before use.





  reply	other threads:[~2009-09-03  6:02 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-09-02  5:25 bug#4310: Flymake standardizing(slightly) patch Jimmy Yuen Ho Wong
2009-09-03  6:02 ` Glenn Morris [this message]
2009-09-03 12:23   ` Jimmy Yuen Ho Wong
2009-09-03 13:43     ` Stefan Monnier
2009-09-04  5:13   ` Kevin Rodgers
2016-02-28  6:44 ` Lars Ingebrigtsen
2019-06-27 17:52   ` Lars Ingebrigtsen

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=4pljkwbm76.fsf@fencepost.gnu.org \
    --to=rgm@gnu.org \
    --cc=4310@emacsbugs.donarmstrong.com \
    --cc=wyuenho@gmail.com \
    /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 public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

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).