unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#10279: 23.3.1: ruby-mode-hook not defined or autoloaded
@ 2011-12-12 16:04 Jari Aalto
  2011-12-16 20:38 ` Glenn Morris
  0 siblings, 1 reply; 2+ messages in thread
From: Jari Aalto @ 2011-12-12 16:04 UTC (permalink / raw)
  To: 10279

Package: emacs
Version: 23.3+1-4
Severity: normal

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

Jari

-- System Information
Debian Release: wheezy/sid
  APT Prefers testing
  APT policy: (990, testing) (500, unstable) (1, experimental)
Architecture: amd64
Kernel: Linux picasso 3.0.0-1-amd64 #1 SMP Sat Aug 27 16:21:11 UTC 2011 x86_64 GNU/Linux
Locale: LANG=en_DK.UTF-8

-- Versions of packages `emacs depends on'.
Depends:
emacs23         23.3+1-4        GNU Emacs is the extensible self-documenting 
emacs23-lucid   23.3+1-4        GNU Emacs is the extensible self-documenting 
emacs23-nox     23.3+1-4        GNU Emacs is the extensible self-documenting 





^ permalink raw reply	[flat|nested] 2+ messages in thread

* bug#10279: 23.3.1: ruby-mode-hook not defined or autoloaded
  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
  0 siblings, 0 replies; 2+ messages in thread
From: Glenn Morris @ 2011-12-16 20:38 UTC (permalink / raw)
  To: Jari Aalto; +Cc: 10279

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





^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2011-12-16 20:38 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
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

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