[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] odt export version conflict on emacs for mac os x
From: |
Achim Gratz |
Subject: |
Re: [O] odt export version conflict on emacs for mac os x |
Date: |
Sat, 31 Aug 2013 18:53:10 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) |
Christian Moe writes:
> Could you give a pointer to your code? I'd like to try it.
Here it is again:
--8<---------------cut here---------------start------------->8---
;;
;; Kill any old org remnants
;;
;; clean load-path
(setq load-path
(delq nil (mapcar
(function (lambda (p)
(unless (string-match "lisp/org$" p)
p)))
load-path)))
;; remove property lists to defeat cus-load and remove autoloads
(mapatoms (function (lambda (s)
(let ((sn (symbol-name s)))
(when (string-match "^\\(org\\|ob\\|ox\\)-?" sn)
(setplist s nil)
(when (autoloadp s)
(unintern s)))))))
--8<---------------cut here---------------end--------------->8---
After this Emacs should behave like it had never heard of Org at all.
As I said, use at your own risk - the intention is to do this as early
as possible, before any other initializations have taken place so that
these then can set up Org on a clean slate.
Regards,
Achim.
--
+<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+
SD adaptations for Waldorf Q V3.00R3 and Q+ V3.54R2:
http://Synth.Stromeko.net/Downloads.html#WaldorfSDada
Re: [O] odt export version conflict on emacs for mac os x, Jambunathan K, 2013/08/31