* wl-message.el (wl-message-add-buttons-to-header): Eliminated needless
authorteranisi <teranisi>
Tue, 19 Feb 2002 08:52:29 +0000 (08:52 +0000)
committerteranisi <teranisi>
Tue, 19 Feb 2002 08:52:29 +0000 (08:52 +0000)
 `goto-char'.

wl/ChangeLog
wl/wl-message.el

index 8f5b900..1ab514c 100644 (file)
@@ -1,5 +1,8 @@
 2002-02-19  Yuuichi Teranishi  <teranisi@gohome.org>
 
+       * wl-message.el (wl-message-add-buttons-to-header): Eliminated
+       needless `goto-char'.
+
        * wl-summary.el (wl-summary-set-message-buffer-or-redisplay): Call
        `wl-summary-redisplay-no-mime-internal' instead of
        `wl-summary-redisplay-no-mime'.
index 88102f4..775758b 100644 (file)
@@ -403,7 +403,6 @@ Returns non-nil if bottom of message."
                        (point-max)))
            (goto-char start)
            (while (re-search-forward (nth 1 entry) end t)
-             (goto-char (match-end 0))
              (wl-message-add-button
               (match-beginning (nth 2 entry))
               (match-end (nth 2 entry))