emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* trouble with Imenu integration
@ 2010-07-09 10:33 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-16 17:36 ` trouble with Imenu integration David Maus
  0 siblings, 2 replies; 15+ messages in thread
From: Michael Gilbert @ 2010-07-09 10:33 UTC (permalink / raw)
  To: emacs-orgmode Mailinglist

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

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

end of thread, other threads:[~2010-07-18  9:51 UTC | newest]

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

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