GNU bug report logs - #15753
24.2; image-mode-hook does not exist

Previous Next

Package: emacs;

Reported by: Tikhon Jelvis <tikhon <at> jelv.is>

Date: Wed, 30 Oct 2013 02:06:02 UTC

Severity: normal

Found in version 24.2

Done: Leo Liu <sdl.web <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


Message #13 received at 15753-done <at> debbugs.gnu.org (full text, mbox):

From: Leo Liu <sdl.web <at> gmail.com>
To: Tikhon Jelvis <tikhon <at> jelv.is>
Cc: 15753-done <at> debbugs.gnu.org
Subject: Re: bug#15753: 24.2; image-mode-hook does not exist
Date: Wed, 30 Oct 2013 11:28:59 +0800
Not a bug.

On 2013-10-30 09:40 +0800, Tikhon Jelvis wrote:
> The variable image-mode-hook does not exist, so I can't easily add a hook
> to image mode. This is using Emacs 24.2.1 on Fedora 18.

Hook variables don't need to be defined before use. So just use it and
it will work.

Leo




This bug report was last modified 11 years and 265 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.