emacs-orgmode
[Top][All Lists]
Advanced

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

[Orgmode] Re: why would org-mode-hook be a void variable?


From: Bernt Hansen
Subject: [Orgmode] Re: why would org-mode-hook be a void variable?
Date: Fri, 09 Jul 2010 16:09:16 -0400
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.2 (gnu/linux)

Michael Gilbert <address@hidden> 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.
> address@hidden
> http://lists.gnu.org/mailman/listinfo/emacs-orgmode



reply via email to

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