Browse files

The format specifier "%FOLD{...}" does not squeeze white spaces.

* 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...
1 parent 9cf80e6 commit 8e73fa85879ace69bd193d2875afea26e4bfccc6 @cvmat cvmat committed Jan 21, 2011
Showing with 6 additions and 1 deletion.
  1. +5 −0 ChangeLog
  2. +1 −1 twittering-mode.el
View
5 ChangeLog
@@ -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
View
2 twittering-mode.el
@@ -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)))

0 comments on commit 8e73fa8

Please sign in to comment.