summaryrefslogtreecommitdiff
path: root/rt-liberation-gnus.el
diff options
context:
space:
mode:
Diffstat (limited to 'rt-liberation-gnus.el')
-rw-r--r--rt-liberation-gnus.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/rt-liberation-gnus.el b/rt-liberation-gnus.el
index 46d742d..80b34b0 100644
--- a/rt-liberation-gnus.el
+++ b/rt-liberation-gnus.el
@@ -136,7 +136,8 @@ OPTIONS association list of options.
(with-temp-buffer
(insert text)
(goto-char (point-min))
- (replace-regexp "^[ ]+" "")
+ (re-search-forward "^[ ]+" (point-max) t)
+ (replace-match "")
(whitespace-cleanup)
(setq text (buffer-substring (point-min) (point-max)))))
text)))