aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKyle Meyer <kyle@kyleam.com>2021-02-07 15:04:06 -0500
committerKyle Meyer <kyle@kyleam.com>2021-02-07 15:04:06 -0500
commitf784460e5fd99619070a302dfc22d24d54336ede (patch)
tree756cdd5994fdab3592f1da5514bb07fa0b43892d
parent2339ba46872bf990129275771306182c82235dbf (diff)
downloadpiem-f784460e5fd99619070a302dfc22d24d54336ede.tar.gz
piem-copy-mid-url: Autoload
piem-copy-mid-url will usually be called through piem-dispatch, which is autoloaded, so autoloading piem-copy-mid-url doesn't matter in that context, but users are of course free to bind/call piem-copy-mid-url directly.
-rw-r--r--piem.el1
1 files changed, 1 insertions, 0 deletions
diff --git a/piem.el b/piem.el
index 6424498..8f328c4 100644
--- a/piem.el
+++ b/piem.el
@@ -491,6 +491,7 @@ INBOX is nil, use the inbox returned by `piem-inbox'."
(or inbox "current buffer"))))
(piem-escape-mid mid)))
+;;;###autoload
(defun piem-copy-mid-url (&optional browse)
"Copy public-inbox URL for the current buffer's message.
With prefix argument BROWSE, call `browse-url' on the URL