Skip to content

Commit

Permalink
fix ugly history of pop-up buffer
Browse files Browse the repository at this point in the history
* twittering-mode.el (twittering-edit-post-status): add trailing
newlines to new history element because help-overlay need it.
  • Loading branch information
hayamiz committed Jan 15, 2010
1 parent 9ef339e commit 2e176f3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions ChangeLog
Expand Up @@ -106,6 +106,9 @@
twittering-use-native-retweets
(twittering-status-not-blank-p): bug fix: return nil if a status
is ended by '@foo'.

* twittering-mode.el (twittering-edit-post-status): add trailing
newlines to new history element because help-overlay need it.

* twittering-mode.el (twittering-make-display-spec-for-icon):
returns nil if the type of the image is not supported.
Expand Down
2 changes: 1 addition & 1 deletion twittering-mode.el
Expand Up @@ -1002,7 +1002,7 @@ Keymap:
(interactive)
(let ((status (twittering-edit-extract-status)))
(setq twittering-edit-history
(cons status twittering-edit-history))
(cons (concat status "\n\n\n") twittering-edit-history))
(if (twittering-status-not-blank-p status)
(let ((parameters `(("status" . ,status)
("source" . "twmode")
Expand Down

0 comments on commit 2e176f3

Please sign in to comment.