From: Bernt Hansen <bernt@norang.ca>
To: Michael Gilbert <mcg@gilbert.org>
Cc: emacs-orgmode Mailinglist <emacs-orgmode@gnu.org>
Subject: Re: why would org-mode-hook be a void variable?
Date: Fri, 09 Jul 2010 16:09:16 -0400 [thread overview]
Message-ID: <87y6dk8ljn.fsf@gollum.intra.norang.ca> (raw)
In-Reply-To: <6F744DED-C00A-48F2-9EFA-4473F7F0DAFF@gilbert.org> (Michael Gilbert's message of "Fri\, 9 Jul 2010 12\:23\:47 -0700")
Michael Gilbert <mcg@gilbert.org> writes:
> I guess my main question is why org-mode-hook would be a void
> variable. Did I not capture something from the instructions in the
> manual? Is there something that needs to be set before hand? I'm just
> not sure where to look.
Did you initialize org-mode with
(require 'org-install)
?
-Bernt
>
> — Michael
>
>
> On Jul 9,2010, at 3:33 AM, Michael Gilbert wrote:
>
>> Following the instructions from manual, I have this near the end of my startup file (I hope that is copied correctly):
>>
>> (add-hook ’org-mode-hook
>> (lambda () (imenu-add-to-menubar "Imenu")))
>>
>> But I get this error:
>>
>> Debugger entered--Lisp error: (void-variable ’org-mode-hook)
>> (add-hook ’org-mode-hook (lambda nil (imenu-add-to-menubar "Imenu")))
>> eval((add-hook ’org-mode-hook (lambda nil (imenu-add-to-menubar "Imenu"))))
>> eval-last-sexp-1(nil)
>> eval-last-sexp(nil)
>> call-interactively(eval-last-sexp nil nil)
>
>
> _______________________________________________
> Emacs-orgmode mailing list
> Please use `Reply All' to send replies to the list.
> Emacs-orgmode@gnu.org
> http://lists.gnu.org/mailman/listinfo/emacs-orgmode
next prev parent reply other threads:[~2010-07-09 20:09 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-07-09 10:33 trouble with Imenu integration Michael Gilbert
2010-07-09 19:23 ` why would org-mode-hook be a void variable? (was: trouble with Imenu integration) Michael Gilbert
2010-07-09 20:09 ` Bernt Hansen [this message]
2010-07-11 23:43 ` why would org-mode-hook be a void variable? Michael Gilbert
2010-07-09 20:31 ` why would org-mode-hook be a void variable? (was: trouble with Imenu integration) Eric S Fraga
2010-07-16 17:36 ` trouble with Imenu integration David Maus
2010-07-16 20:21 ` possible single-quote bug in PDF docs (was: trouble with Imenu integration) Michael Gilbert
2010-07-16 20:33 ` Carsten Dominik
2010-07-16 22:21 ` Michael Gilbert
2010-07-17 6:34 ` David Maus
2010-07-18 6:05 ` Carsten Dominik
2010-07-18 7:45 ` [PATCH] Use proper quote and backtick in PDF output David Maus
2010-07-18 9:08 ` Carsten Dominik
2010-07-18 9:05 ` possible single-quote bug in PDF docs (was: trouble with Imenu integration) David Maus
2010-07-18 9:51 ` Carsten Dominik
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=87y6dk8ljn.fsf@gollum.intra.norang.ca \
--to=bernt@norang.ca \
--cc=emacs-orgmode@gnu.org \
--cc=mcg@gilbert.org \
/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.