From 6f6f0b906f324fcf09659434f405b9c557e2edb4 Mon Sep 17 00:00:00 2001 From: Bram Schoenmakers Date: Sat, 3 Aug 2024 21:58:08 +0200 Subject: [PATCH] Add autoloads --- elfeed-export.el | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/elfeed-export.el b/elfeed-export.el index cd31884..1f1aa79 100644 --- a/elfeed-export.el +++ b/elfeed-export.el @@ -124,19 +124,23 @@ return t when the entry should be exported." (mapcar #'elfeed-export--entry-to-alist (elfeed-export-filter-entries entries)))) +;;;###autoload (defun elfeed-export-to-json () "Return the JSON string for all entries that should be exported." (json-encode (elfeed-export--entries))) +;;;###autoload (defun elfeed-export-to-lisp () "Return the Lisp data string for all entries that should be exported." (prin1-to-string (elfeed-export--entries))) +;;;###autoload (defun elfeed-export-to-json-file (path) "Write the JSON string to a file at PATH." (interactive "F") (write-region (elfeed-export-to-json) nil path nil nil nil t)) +;;;###autoload (defun elfeed-export-to-lisp-file (path) "Write the JSON string to a file at PATH." (interactive "F")