Permalink
Browse files

Check effective length of tweet when posting from minibuffer

  • Loading branch information...
1 parent 31312fa commit fa40325328bc8c2aa40eff6ed1954d5c07436152 @tomykaira tomykaira committed Apr 22, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 twittering-mode.el
View
@@ -10575,7 +10575,7 @@ Pairs of a key symbol and an associated value are following:
(while not-posted-p
(setq status (read-from-minibuffer prompt status map nil 'twittering-tweet-history nil t))
(let ((status status))
- (if (< 140 (length status))
+ (if (< 140 (twittering-effective-length status))
(setq prompt "status (too long): ")
(setq prompt "status: ")
(when (twittering-status-not-blank-p status)

0 comments on commit fa40325

Please sign in to comment.