summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGerd Moellmann <gerd@gnu.org>2001-10-18 08:53:25 +0000
committerGerd Moellmann <gerd@gnu.org>2001-10-18 08:53:25 +0000
commit5db79e5a9b6b7c87c14ea67f2e239b57c1911003 (patch)
tree4b6292d6fcf020bfa9fc5e6374cec3bdfbbba690
parent7a735d0fa6a5d5073d2e907c552ebad9e8d5bac5 (diff)
downloademacs-5db79e5a9b6b7c87c14ea67f2e239b57c1911003.tar.gz
(what-line): Avoid problems with field properties.
-rw-r--r--lisp/simple.el4
1 files 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)))