From 2c9b35702806d7a307bde2fe7e4d191a53c474ed Mon Sep 17 00:00:00 2001 From: Yoni Rabkin Date: Thu, 27 Feb 2014 14:32:44 -0500 Subject: Fix compilation warnings. --- rt-liberation-gnus.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'rt-liberation-gnus.el') 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))) -- cgit v1.2.3