summaryrefslogtreecommitdiffhomepage
path: root/init.org
diff options
context:
space:
mode:
authorjao <jao@gnu.org>2021-04-30 23:01:50 +0100
committerjao <jao@gnu.org>2021-04-30 23:01:50 +0100
commitbf94f1b767b586580fd664f8406184e0af9ccc86 (patch)
tree8377f44f977ecd4ba9b7359b1b40d9475aec11d2 /init.org
parente4aae6eba1b337194295ce544e453d045ef1b62b (diff)
downloadelibs-bf94f1b767b586580fd664f8406184e0af9ccc86.tar.gz
elibs-bf94f1b767b586580fd664f8406184e0af9ccc86.tar.bz2
tweaks
Diffstat (limited to 'init.org')
-rw-r--r--init.org5
1 files changed, 5 insertions, 0 deletions
diff --git a/init.org b/init.org
index 3d2d9ce..8591585 100644
--- a/init.org
+++ b/init.org
@@ -1686,6 +1686,11 @@
(if (fboundp 'w3m-view-mode) (w3m-view-source) (View-quit))
(when url (cons url (or title ""))))))))
+ (defun jao-list-mailboxes (base)
+ (let ((dir (expand-file-name base "~/var/mail")))
+ (seq-difference (directory-files dir)
+ '("." ".." "sent" "inbox" "trash"))))
+
(defun jao-rss-subscribe ()
(interactive)
(let* ((url (or (jao-url-around-point)