Browse Source

org-batch-test-init: Remove dead code

* testing/org-batch-test-init.el (lambda): Remove the code that has
never been working.  One could still rewrite the code using
`autoloadp', but it would break things terribly and should not be
needed as autoload does not need to be updated after changing the
`load-path'.  See
https://orgmode.org/list/jwvedwczhbv.fsf-monnier+emacs@gnu.org
Ihor Radchenko 1 year ago
parent
commit
e3348ccc03
1 changed files with 1 additions and 5 deletions
  1. 1 5
      testing/org-batch-test-init.el

+ 1 - 5
testing/org-batch-test-init.el

@@ -13,10 +13,6 @@
 (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))
-		))))
+		(setplist s nil)))))
 
 ;; we should now start from a clean slate