diff options
author | Gerd Moellmann <gerd@gnu.org> | 2001-10-18 08:53:25 +0000 |
---|---|---|
committer | Gerd Moellmann <gerd@gnu.org> | 2001-10-18 08:53:25 +0000 |
commit | 5db79e5a9b6b7c87c14ea67f2e239b57c1911003 (patch) | |
tree | 4b6292d6fcf020bfa9fc5e6374cec3bdfbbba690 | |
parent | 7a735d0fa6a5d5073d2e907c552ebad9e8d5bac5 (diff) | |
download | emacs-5db79e5a9b6b7c87c14ea67f2e239b57c1911003.tar.gz |
(what-line): Avoid problems with field properties.
-rw-r--r-- | lisp/simple.el | 4 |
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))) |