emacs-orgmode
[Top][All Lists]
Advanced

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

[Orgmode] Not all org-publish-* functions are accessible initially


From: Seb
Subject: [Orgmode] Not all org-publish-* functions are accessible initially
Date: Fri, 17 Oct 2008 00:32:23 +0000 (UTC)
User-agent: slrn/pre0.9.9-102 (Linux)

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





reply via email to

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