aboutsummaryrefslogtreecommitdiff
path: root/lisp/mastodon.el
diff options
context:
space:
mode:
authorclarkenciel <clarkenciel@gmail.com>2017-04-27 10:41:14 -0700
committerJohnson Denen <johnson.denen@gmail.com>2017-04-28 14:48:54 -0400
commitcd1d0a78a3fc8649648c20ef1f3780a37a1b80c5 (patch)
treec2daa77468a427352d0e70b9f50ae70f433efaf1 /lisp/mastodon.el
parent4057f8d7577308fd79afa9c4d1823faf9c088665 (diff)
adding keybinding documentation to the new-toot buffer
Diffstat (limited to 'lisp/mastodon.el')
-rw-r--r--lisp/mastodon.el9
1 files changed, 2 insertions, 7 deletions
diff --git a/lisp/mastodon.el b/lisp/mastodon.el
index 7fb5c9a..801692b 100644
--- a/lisp/mastodon.el
+++ b/lisp/mastodon.el
@@ -91,13 +91,8 @@ Use. e.g. \"%c\" for your locale's date and time format."
If USER is non-nil, insert after @ symbol to begin new toot.
If REPLY-TO-ID is non-nil, attach new toot to a conversation."
(interactive)
- (require 'mastodon-toot nil t)
- (progn
- (switch-to-buffer-other-window (get-buffer-create "*new toot*"))
- (when user
- (insert (format "@%s " user))
- (setq mastodon-toot--reply-to-id reply-to-id))
- (mastodon-toot-mode t)))
+ (require 'mastodon-toot nil t)
+ (mastodon-toot--compose-buffer user reply-to-id))
;;;###autoload
(add-hook 'mastodon-mode-hook (lambda ()