From e3348ccc03b0aa3e8f8b3d0837b91f8285fe161a Mon Sep 17 00:00:00 2001 From: Ihor Radchenko Date: Fri, 16 Sep 2022 11:33:26 +0800 Subject: [PATCH] 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 --- testing/org-batch-test-init.el | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/testing/org-batch-test-init.el b/testing/org-batch-test-init.el index c8a0e3a3e..bd11ea61c 100644 --- a/testing/org-batch-test-init.el +++ b/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