From 1d46d6e886cbd9aeaa78c1f76e4eebe7e10f47d3 Mon Sep 17 00:00:00 2001 From: Andros Fenollosa Date: Wed, 14 Jun 2023 12:33:35 +0200 Subject: [PATCH] Add manage dired --- README.md | 2 ++ org-share-to-web.el | 5 +++++ 2 files changed, 7 insertions(+) diff --git a/README.md b/README.md index 387fabe..8af64b3 100644 --- a/README.md +++ b/README.md @@ -30,6 +30,8 @@ Open an Org file and run `org-share-to-web-buffer`. It will copy the URL to your clipboard to open the document share. +If you need to manage the shared files, such as deleting them, use `org-share-to-web-dired`. + ## Theme If you want it to look really nice, include the following lines at the beginning of your Org documents. diff --git a/org-share-to-web.el b/org-share-to-web.el index 9c79742..6996d40 100644 --- a/org-share-to-web.el +++ b/org-share-to-web.el @@ -26,6 +26,11 @@ (kill-new (concat org-share-to-web-domain filename-html))) (message "Org shared online. URL copied to clipboard!")) +(defun org-share-to-web-dired () + "Open directory where org files are shared." + (interactive) + (dired org-share-to-web-directory)) + (provide 'org-share-to-web) ;;; org-share-to-web.el ends here