Is there a function that allows to prepend text to a list of files / buffers?
I tried this:
(defun prepend-to-org-files (text) (let* ((path "~/Dropbox/org/database") (regex "org$") (org-files (directory-files-recursively path regex))) (dolist (org-file org-files) (prepend-to-buffer org-file text))))
But I am missing a function like
prepend-to-buffer. Is there something like this?