emacs: Provide 'rstdoc' feature at end of file

Features should nearly always be provided at the very end of their
libraries.  This feature isn't one of the rare exceptions.
This commit is contained in:
Jonas Bernoulli 2020-08-08 13:49:59 +02:00 committed by David Bremner
parent 2a0d4c5965
commit 254d0f9515

View file

@ -32,8 +32,6 @@
;;; Code: ;;; Code:
(provide 'rstdoc)
(defun rstdoc-batch-extract () (defun rstdoc-batch-extract ()
"Extract docstrings to and from the files on the command line." "Extract docstrings to and from the files on the command line."
(apply #'rstdoc-extract command-line-args-left)) (apply #'rstdoc-extract command-line-args-left))
@ -82,4 +80,6 @@
(replace-match (cdr pair)))) (replace-match (cdr pair))))
(buffer-substring (point-min) (point-max)))) (buffer-substring (point-min) (point-max))))
(provide 'rstdoc)
;;; rstdoc.el ends here ;;; rstdoc.el ends here