emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Not all org-publish-* functions are accessible initially
@ 2008-10-17  0:32 Seb
  2008-10-17 13:46 ` Carsten Dominik
  0 siblings, 1 reply; 2+ messages in thread
From: Seb @ 2008-10-17  0:32 UTC (permalink / raw)
  To: emacs-orgmode

Hi,

I was wondering if all the org-publish-* functions should be available
directly after org-mode is loaded ? Initially I only see
org-publish-{all,current-file,current-project} as available (before
doing any org-publish related work). After I run either of those 3, then
the rest of them become available (for instance org-publish-project).

The startup file in charge of finding org-mode on my system is as follows:

  (let ((package-dir (concat "/usr/share/"
			     (symbol-name flavor)
			     "/site-lisp/org-mode")))

  ;; If package-dir does not exist, the org-mode package must have
  ;; removed but not purged, and we should skip the setup.
    (when (file-directory-p package-dir)
      (setq load-path (cons package-dir load-path))
      (require 'org-install)
      (add-to-list 'auto-mode-alist '("\\.org\\(-mode\\)?$" . org-mode))))

Cheers,

--Seb

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

end of thread, other threads:[~2008-10-17 13:47 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-10-17  0:32 Not all org-publish-* functions are accessible initially Seb
2008-10-17 13:46 ` 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).