Skip to content

Commit

Permalink
Rename twittering-ask-post' twittering-request-confirmation-on-post…
Browse files Browse the repository at this point in the history
…ing'.
  • Loading branch information
cvmat committed May 3, 2010
1 parent d0b4c6b commit 713574c
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
5 changes: 5 additions & 0 deletions ChangeLog
@@ -1,3 +1,8 @@
2010-05-04 Tadashi MATSUO <tad@mymail.twin.jp>

* twittering-mode.el (twittering-ask-post): renamed
`twittering-request-confirmation-on-posting'.

2010-05-03 Takashi Masuda <masutaka@nifty.com>

* twittering-mode.el: Tweet する時に y-or-n-p で問い合わせを出来る
Expand Down
4 changes: 2 additions & 2 deletions twittering-mode.el
Expand Up @@ -306,7 +306,7 @@ Twittering-mode provides two functions for updating status:
* `twittering-update-status-from-minibuffer': edit tweets in minibuffer
* `twittering-update-status-from-pop-up-buffer': edit tweets in pop-up buffer")

(defvar twittering-ask-post nil
(defvar twittering-request-confirmation-on-posting nil
"*If *non-nil*, confirmation will be requested on posting a tweet edited in
pop-up buffer.")

Expand Down Expand Up @@ -2263,7 +2263,7 @@ been initialized yet."
(message "Empty tweet!"))
((< 140 (length status))
(message "Too long tweet!"))
((and twittering-ask-post
((and twittering-request-confirmation-on-posting
(y-or-n-p "Send this tweet? "))
(setq twittering-edit-history
(cons status twittering-edit-history))
Expand Down

0 comments on commit 713574c

Please sign in to comment.