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
This commit is contained in:
Ihor Radchenko 2022-09-16 11:33:26 +08:00
parent 6074a22bcb
commit e3348ccc03
No known key found for this signature in database
GPG Key ID: 6470762A7DA11D8B
1 changed files with 1 additions and 5 deletions

View File

@ -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