emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Orgmode] trouble with Imenu integration


From: Michael Gilbert
Subject: [Orgmode] trouble with Imenu integration
Date: Fri, 9 Jul 2010 03:33:12 -0700

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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]