[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] [new exporter] is #+bind supported?
From: |
Achim Gratz |
Subject: |
Re: [O] [new exporter] is #+bind supported? |
Date: |
Tue, 05 Mar 2013 19:18:29 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.2.93 (gnu/linux) |
Eric S Fraga writes:
> It is rather annoying to have the old org files picked up
> automatically. My git copy of org-mode is before anything else in my
> =load-path= variable. I know there has been a whole thread on the list
> about this but I did not see any solution to this; did I miss one? I
> track emacs-snapshot weekly and org-mode more frequently.
No, nothing complete yet. Here's what I have so far, some autoload
definitions might still be there, but will error out due to the fact
that their target files are not in load-path anymore.
--8<---------------cut here---------------start------------->8---
;;
;; Kill our ancestors
;;
;; clean load-path
(setq load-path
(delq nil (mapcar
(function (lambda (p)
(unless (string-match "lisp/org$" p)
p))
load-path)))
;; remove property list to defeat cus-load and remove autoloads
(mapatoms (function (lambda (s)
(let ((sn (symbol-name s)))
(when (string-match "^\\(org\\|ob\\)-?" sn)
(setplist s nil)
(when (autoloadp s)
(unintern s)))))))
(add-to-list 'load-path "/path/to/org-master")
(load "org-loaddefs.el" nil nil 'nosuffix)
--8<---------------cut here---------------end--------------->8---
I still need to generate the custom-load definitions with the build
system so that you can browse customize without loading all Org files
first.
Regards,
Achim.
--
+<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+
SD adaptations for KORG EX-800 and Poly-800MkII V0.9:
http://Synth.Stromeko.net/Downloads.html#KorgSDada
Re: [O] [new exporter] is #+bind supported?, Nicolas Goaziou, 2013/03/05