Changeset 4131 for trunk/lisp/textmodes/ispell.el
- Timestamp:
- 07/29/06 07:48:34 (2 years ago)
- Files:
-
- trunk/lisp/textmodes/ispell.el (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/lisp/textmodes/ispell.el
r4098 r4131 1651 1651 (if (not (equal new-word (car poss))) 1652 1652 (progn 1653 (delete-region start end) 1654 (setq start (point)) 1653 (goto-char start) 1654 ;; Insert first and then delete, 1655 ;; to avoid collapsing markers before and after 1656 ;; into a single place. 1655 1657 (ispell-insert-word new-word) 1658 (delete-region (point) (+ (point) (- end start))) 1659 ;; It is meaningless to preserve the cursor position 1660 ;; inside a word that has changed. 1661 (setq cursor-location (point)) 1656 1662 (setq end (point)))) 1657 1663 (if (not (atom replace)) ;recheck spelling of replacement
