From: Michael Gilbert <mcg@gilbert.org>
To: emacs-orgmode Mailinglist <emacs-orgmode@gnu.org>
Subject: trouble with Imenu integration
Date: Fri, 9 Jul 2010 03:33:12 -0700 [thread overview]
Message-ID: <9707EA08-D22C-4BDF-98E3-CA3A0CFC250C@gilbert.org> (raw)
And another....
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)
What am I missing?
— Michael
next reply other threads:[~2010-07-09 10:33 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-07-09 10:33 Michael Gilbert [this message]
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 ` 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
List information: https://www.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=9707EA08-D22C-4BDF-98E3-CA3A0CFC250C@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 public inbox
https://git.savannah.gnu.org/cgit/emacs/org-mode.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).