From ad2e7297ea8aec8cef2117403d18a09e36b310f9 Mon Sep 17 00:00:00 2001 From: morioka Date: Tue, 20 Jul 1999 05:09:37 +0000 Subject: [PATCH] (detect-paragraph-cited-prefix): Use `line-beginning-position' and `line-end-position'. --- mu-cite.el | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/mu-cite.el b/mu-cite.el index eca66a6..eb7ad2f 100644 --- a/mu-cite.el +++ b/mu-cite.el @@ -371,9 +371,8 @@ TABLE defaults to the current buffer's category table." (goto-char (point-min)) (let ((i 0) (prefix - (buffer-substring - (progn (beginning-of-line)(point)) - (progn (end-of-line)(point)))) + (buffer-substring (line-beginning-position) + (line-end-position))) str ret) (while (and (= (forward-line) 0) (setq str (buffer-substring -- 1.7.10.4