Skip to content

Commit

Permalink
The format specifier "%FOLD{...}" does not squeeze white spaces.
Browse files Browse the repository at this point in the history
* twittering-mode.el: The format specifier "%FOLD[prefix]{...}"
does not squeeze white spaces.
(twittering-fill-string): does not squeeze white spaces if
`keep-newline' is non-nil.
  • Loading branch information
cvmat committed Jan 20, 2011
1 parent 9cf80e6 commit 8e73fa8
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions ChangeLog
Expand Up @@ -6,6 +6,11 @@
document as UTF-8 before parsing it if Content-Type in response
header has a parameter "charset=utf-8".

* twittering-mode.el: The format specifier "%FOLD[prefix]{...}"
does not squeeze white spaces.
(twittering-fill-string): does not squeeze white spaces if
`keep-newline' is non-nil.

2011-01-16 Tadashi MATSUO <tad@mymail.twin.jp>

* twittering-mode.el: Ensure that the pointed tweet is visible on
Expand Down
2 changes: 1 addition & 1 deletion twittering-mode.el
Expand Up @@ -5478,7 +5478,7 @@ rendered at POS, return nil."
(concat hard-newline fill-prefix))))
(use-hard-newlines)
(insert (concat prefix str))
(fill-region (point-min) (point-max))
(fill-region (point-min) (point-max) nil t)
(remove-text-properties (point-min) (point-max) '(hard nil)))
(insert (concat prefix str))
(fill-region-as-paragraph (point-min) (point-max)))
Expand Down

0 comments on commit 8e73fa8

Please sign in to comment.