diff options
author | marty hiatt <martianhiatus [a t] riseup [d o t] net> | 2023-02-18 20:33:31 +0100 |
---|---|---|
committer | marty hiatt <martianhiatus [a t] riseup [d o t] net> | 2023-02-18 20:33:31 +0100 |
commit | b3692e0b9fac794208550b13ec5ea02ab0bd2907 (patch) | |
tree | 677a618a3b5a7990fedcc49d78884ab70c2a810a | |
parent | 63f9e4dd49d892c06cb423380c923a1e79287f35 (diff) |
docstring
-rw-r--r-- | lisp/mastodon-tl.el | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/lisp/mastodon-tl.el b/lisp/mastodon-tl.el index c3d2672..4ccfd20 100644 --- a/lisp/mastodon-tl.el +++ b/lisp/mastodon-tl.el @@ -1444,7 +1444,10 @@ HIDE-REPLIES is a flag indicating if replies are hidden in the current buffer." (defun mastodon-tl--get-buffer-type () "Return a symbol descriptive of current mastodon buffer type. -Should work in all mastodon buffers." +Should work in all mastodon buffers. +Note that for many buffers, this requires `mastodon-tl--buffer-spec' +to be set. It is set for almost all buffers, but you still have to +call this function after it is set or use something else." (let ((endpoint-fun (mastodon-tl--get-endpoint nil :no-error)) (buffer-name-fun (mastodon-tl--buffer-name nil :no-error))) (cond (mastodon-toot-mode |