(what-line): Avoid problems with field properties.

This commit is contained in:
Miles Bader 2001-10-18 01:05:28 +00:00
parent 2670cf8089
commit 4d251ae727
2 changed files with 6 additions and 2 deletions

View file

@ -1,3 +1,7 @@
2001-10-18 Miles Bader <miles@gnu.org>
* simple.el (what-line): Avoid problems with field properties.
2001-10-17 Eli Zaretskii <eliz@is.elta.co.il>
* wid-edit.el (widget-field-face, widget-single-line-field-face):

View file

@ -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)))