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


Reply via email to