From: Michael Gilbert <mcg@gilbert.org>
To: emacs-orgmode Mailinglist <emacs-orgmode@gnu.org>
Subject: why would org-mode-hook be a void variable? (was: trouble with Imenu integration)
Date: Fri, 9 Jul 2010 12:23:47 -0700 [thread overview]
Message-ID: <6F744DED-C00A-48F2-9EFA-4473F7F0DAFF@gilbert.org> (raw)
In-Reply-To: <9707EA08-D22C-4BDF-98E3-CA3A0CFC250C@gilbert.org>
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.
— 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)
next prev parent reply other threads:[~2010-07-09 19:23 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 ` Michael Gilbert [this message]
2010-07-09 20:09 ` why would org-mode-hook be a void variable? Bernt Hansen
2010-07-11 23:43 ` 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=6F744DED-C00A-48F2-9EFA-4473F7F0DAFF@gilbert.org \
--to=mcg@gilbert.org \
--cc=emacs-orgmode@gnu.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.