diff options
| author | Miles Bader | 2001-10-18 01:05:28 +0000 |
|---|---|---|
| committer | Miles Bader | 2001-10-18 01:05:28 +0000 |
| commit | 4d251ae727af38fff7c5f69443fe321d512e2918 (patch) | |
| tree | 02978128e8fd31af0236fd67f8513a36eeb8d65f | |
| parent | 2670cf8089bb68bebfc37de6f0dc6dcb85668442 (diff) | |
| download | emacs-4d251ae727af38fff7c5f69443fe321d512e2918.tar.gz emacs-4d251ae727af38fff7c5f69443fe321d512e2918.zip | |
(what-line): Avoid problems with field properties.
| -rw-r--r-- | lisp/ChangeLog | 4 | ||||
| -rw-r--r-- | lisp/simple.el | 4 |
2 files changed, 6 insertions, 2 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 031cdd4c4c8..7f34380075c 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,7 @@ | |||
| 1 | 2001-10-18 Miles Bader <miles@gnu.org> | ||
| 2 | |||
| 3 | * simple.el (what-line): Avoid problems with field properties. | ||
| 4 | |||
| 1 | 2001-10-17 Eli Zaretskii <eliz@is.elta.co.il> | 5 | 2001-10-17 Eli Zaretskii <eliz@is.elta.co.il> |
| 2 | 6 | ||
| 3 | * wid-edit.el (widget-field-face, widget-single-line-field-face): | 7 | * wid-edit.el (widget-field-face, widget-single-line-field-face): |
diff --git a/lisp/simple.el b/lisp/simple.el index deb1737f4f9..3879003b557 100644 --- a/lisp/simple.el +++ b/lisp/simple.el | |||
| @@ -456,10 +456,10 @@ that uses or sets the mark." | |||
| 456 | (save-restriction | 456 | (save-restriction |
| 457 | (goto-char (point-min)) | 457 | (goto-char (point-min)) |
| 458 | (widen) | 458 | (widen) |
| 459 | (beginning-of-line) | 459 | (forward-line 0) |
| 460 | (setq start (point)) | 460 | (setq start (point)) |
| 461 | (goto-char opoint) | 461 | (goto-char opoint) |
| 462 | (beginning-of-line) | 462 | (forward-line 0) |
| 463 | (if (/= start 1) | 463 | (if (/= start 1) |
| 464 | (message "line %d (narrowed line %d)" | 464 | (message "line %d (narrowed line %d)" |
| 465 | (1+ (count-lines 1 (point))) | 465 | (1+ (count-lines 1 (point))) |