emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* How do I automatically run a function whenever an org file is loaded?
@ 2011-08-28  4:18 Herbert Sitz
  2011-08-28  4:43 ` Herbert Sitz
  0 siblings, 1 reply; 2+ messages in thread
From: Herbert Sitz @ 2011-08-28  4:18 UTC (permalink / raw)
  To: emacs-orgmode

I'd like to put a function in my .emacs file to run each time an org file is
loaded.  

I don't see any hook for this among org-mode hooks; I assume this is something
that's accomplished using generic Emacs.  

Can someone tell me how to set this up?

Thanks,

Herb

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

* Re: How do I automatically run a function whenever an org file is loaded?
  2011-08-28  4:18 How do I automatically run a function whenever an org file is loaded? Herbert Sitz
@ 2011-08-28  4:43 ` Herbert Sitz
  0 siblings, 0 replies; 2+ messages in thread
From: Herbert Sitz @ 2011-08-28  4:43 UTC (permalink / raw)
  To: emacs-orgmode

Herbert Sitz <hsitz <at> nwlink.com> writes:
> 
> I'd like to put a function in my .emacs file to run each time an org file is
> loaded.  
> 
> I don't see any hook for this among org-mode hooks; I assume this is something
> that's accomplished using generic Emacs.  
> 
> Can someone tell me how to set this up?
> 

Sorry for the trouble, I think it is indeed one of the org-mode hooks,
specifically 'org-mode-hook'.  -- Herb

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

end of thread, other threads:[~2011-08-28  4:43 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-08-28  4:18 How do I automatically run a function whenever an org file is loaded? Herbert Sitz
2011-08-28  4:43 ` Herbert Sitz

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