From 292dd9870019e79f20b45755b26531394278c388 Mon Sep 17 00:00:00 2001 From: Gerd Moellmann Date: Thu, 18 Oct 2001 08:53:25 +0000 Subject: [PATCH] (what-line): Avoid problems with field properties. --- lisp/simple.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lisp/simple.el b/lisp/simple.el index f5e7aa7565a..112d9566d71 100644 --- a/lisp/simple.el +++ b/lisp/simple.el @@ -456,10 +456,10 @@ that uses or sets the mark." (save-restriction (goto-char (point-min)) (widen) - (beginning-of-line) + (forward-line 0) (setq start (point)) (goto-char opoint) - (beginning-of-line) + (forward-line 0) (if (/= start 1) (message "line %d (narrowed line %d)" (1+ (count-lines 1 (point))) -- 2.39.2