summaryrefslogtreecommitdiff
path: root/piem.el
diff options
context:
space:
mode:
Diffstat (limited to 'piem.el')
-rw-r--r--piem.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/piem.el b/piem.el
index 8c23e7b..867a7e5 100644
--- a/piem.el
+++ b/piem.el
@@ -489,9 +489,9 @@ A buffer with the decompressed content is returned."
(let ((n-added 0)
(n-skipped 0))
(while (and (not (eobp))
- (search-forward "From mboxrd@z" nil t))
+ (re-search-forward "^From mboxrd@z" nil t))
(let* ((beg (line-beginning-position 2))
- (end (or (and (search-forward "From mboxrd@z" nil t)
+ (end (or (and (re-search-forward "^From mboxrd@z" nil t)
(progn (goto-char (line-beginning-position 0))
(point-marker)))
(point-max-marker)))