Skip to content

Commit

Permalink
org-batch-test-init: Remove dead code
Browse files Browse the repository at this point in the history
* 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
  • Loading branch information
yantar92 committed Sep 16, 2022
1 parent 6074a22 commit e3348cc
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions testing/org-batch-test-init.el
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit e3348cc

Please sign in to comment.