2004-04-03 Colin Rafferty <colin.rafferty@morganstanley.com>
* wl-highlight.el (wl-highlight-message): Change to strict regexp
for the separator line and quote mail-header-separator.
+2004-04-03 Colin Rafferty <colin.rafferty@morganstanley.com>
+
+ * wl-highlight.el (wl-highlight-message): Change to strict regexp
+ for the separator line and quote mail-header-separator.
+
2004-01-01 TAKAHASHI Kaoru <kaoru@kaisei.org>
* wl-demo.el (wl-demo-copyright-notice): Add 2004.
;; If this search fails then the narrowing performed above
;; is sufficient
(if (re-search-forward (format
- "^$\\|%s"
+ "^\\(%s\\)?$"
(regexp-quote mail-header-separator))
nil t)
(narrow-to-region (point-min) (match-beginning 0)))
(let (prefix prefix-face-alist pair end)
(while (not (eobp))
(cond
- ((looking-at mail-header-separator)
+ ((looking-at (concat "^" (regexp-quote mail-header-separator) "$"))
(put-text-property (match-beginning 0) (match-end 0)
'face 'wl-highlight-header-separator-face)
(goto-char (match-end 0)))