From: kaoru Date: Mon, 15 Oct 2001 04:35:32 +0000 (+0000) Subject: 2001-10-15 NAKAJIMA Mikio X-Git-Tag: wl-2_7_6~23 X-Git-Url: http://git.chise.org/gitweb/?a=commitdiff_plain;h=9fed87656028a7bea4846b9ced520d20e92cc518;p=elisp%2Fwanderlust.git 2001-10-15 NAKAJIMA Mikio * wl-summary.el (wl-summary-jump-to-msg): Search before calibration point by `beginning-of-line'. --- diff --git a/wl/ChangeLog b/wl/ChangeLog index 1cf46f0..cbbb483 100644 --- a/wl/ChangeLog +++ b/wl/ChangeLog @@ -1,3 +1,8 @@ +2001-10-15 NAKAJIMA Mikio + + * wl-summary.el (wl-summary-jump-to-msg): Search before + calibration point by `beginning-of-line'. + 2001-10-11 Yoichi NAKAYAMA * wl-fldmgr.el (wl-fldmgr-make-group): Check folder name only diff --git a/wl/wl-summary.el b/wl/wl-summary.el index 4083720..016da9e 100644 --- a/wl/wl-summary.el +++ b/wl/wl-summary.el @@ -2242,15 +2242,11 @@ If ARG is non-nil, checking is omitted." (string-to-int (read-from-minibuffer "Jump to Message(No.): "))))) (setq num (int-to-string num)) - (if (re-search-forward (concat "^[ \t]*" num "[^0-9]") nil t) - (progn - (beginning-of-line) - t) - (if (re-search-backward (concat "^[ \t]*" num "[^0-9]") nil t) - (progn - (beginning-of-line) - t) - nil)))) + (beginning-of-line) + (if (or (re-search-forward (concat "^[ \t]*" num "[^0-9]") nil t) + (re-search-backward (concat "^[ \t]*" num "[^0-9]") nil t)) + (progn (beginning-of-line) t) + nil))) (defun wl-summary-highlight-msgs (msgs) (save-excursion