diff options
author | clarkenciel <clarkenciel@gmail.com> | 2017-04-27 10:41:14 -0700 |
---|---|---|
committer | Johnson Denen <johnson.denen@gmail.com> | 2017-04-28 19:57:23 -0400 |
commit | 3cb4464ac7d06943b7a19cff3c171d7ecbefb3b8 (patch) | |
tree | c2daa77468a427352d0e70b9f50ae70f433efaf1 /lisp/mastodon.el | |
parent | 773d5b8cad3b029a8c1d230db5715d06df0ad525 (diff) |
adding keybinding documentation to the new-toot buffer
Diffstat (limited to 'lisp/mastodon.el')
-rw-r--r-- | lisp/mastodon.el | 9 |
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 () |