emacs-orgmode
[Top][All Lists]
Advanced

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

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


From: Carsten Dominik
Subject: Re: [Orgmode] Not all org-publish-* functions are accessible initially
Date: Fri, 17 Oct 2008 15:46:55 +0200

Hi Sebastian,

On Oct 17, 2008, at 2:32 AM, Seb wrote:

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

You are right about this function, I had forgotten to autoload it.
However, the other interactive commands are all autoloaded and you should
have no problems accessing them before org-publish has been loaded.

Or are there any others you are missing?

- Carsten




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



_______________________________________________
Emacs-orgmode mailing list
Remember: 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]