emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
blob c8a0e3a3e572e92c14f681939c0cd225125ad73d 618 bytes (raw)
name: testing/org-batch-test-init.el 	 # note: path name is non-authoritative(*)

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
 
;;  -*- lexical-binding: t; -*-
;; Remove Org remnants built into Emacs
;;

;; clean load-path
(setq load-path
      (delq nil (mapcar
		 (lambda (p)
		   (unless (string-match "lisp\\(/packages\\)?/org$" p)
		     p))
		 load-path)))
;; remove property list to defeat cus-load and remove autoloads
(mapatoms (lambda (s)
	    (let ((sn (symbol-name s)))
	      (when (string-match "\\`\\(org\\|ob\\|ox\\)\\(-.*\\)?\\'" sn)
		(setplist s nil)
		;; FIXME: `s' is a symbol, so (car-safe s) is always nil.
		;;(when (eq 'autoload (car-safe s))
		;;  (unintern s obarray))
		))))

;; we should now start from a clean slate

debug log:

solving c8a0e3a3e5 ...
found c8a0e3a3e5 in https://git.savannah.gnu.org/cgit/emacs/org-mode.git

(*) Git path names are given by the tree(s) the blob belongs to.
    Blobs themselves have no identifier aside from the hash of its contents.^

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).