unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Glenn Morris <rgm@gnu.org>
To: Jari Aalto <jari.aalto@cante.net>
Cc: 10279@debbugs.gnu.org
Subject: bug#10279: 23.3.1: ruby-mode-hook not defined or autoloaded
Date: Fri, 16 Dec 2011 15:38:37 -0500	[thread overview]
Message-ID: <7a1us4qmk2.fsf@fencepost.gnu.org> (raw)
In-Reply-To: <87sjkp4vyw.fsf@picasso.cante.net> (Jari Aalto's message of "Mon,  12 Dec 2011 18:04:55 +0200")

close 10279
tags 10279 notabug
stop

Jari Aalto wrote:

> M-x ruby-mode seems to run ruby-mode-hook, but this is defined anywhere or
> not autoaded.

This is of no consequence. In Emacs 24.1, you will see:

C-h v ruby-mode-hook:

ruby-mode-hook is void as a variable.

  This variable is potentially risky when used as a file local variable.

Documentation:
Hook run when entering Ruby mode.
No problems result if this variable is not bound.
`add-hook' automatically binds it.  (This is true for all hook variables.)





      reply	other threads:[~2011-12-16 20:38 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-12-12 16:04 bug#10279: 23.3.1: ruby-mode-hook not defined or autoloaded Jari Aalto
2011-12-16 20:38 ` Glenn Morris [this message]

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=7a1us4qmk2.fsf@fencepost.gnu.org \
    --to=rgm@gnu.org \
    --cc=10279@debbugs.gnu.org \
    --cc=jari.aalto@cante.net \
    /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).