Mercurial > emacs
comparison lisp/textmodes/flyspell.el @ 90365:a802c5505156
Revision: emacs@sv.gnu.org/emacs--unicode--0--patch-43
Merge from emacs--devo--0
Patches applied:
* emacs--devo--0 (patch 148-156)
- Update from CVS
- Merge from gnus--rel--5.10
- Remove nick-abbrevs stuff from rcirc.el
- rcirc.el update from Ryan Yeske
* gnus--rel--5.10 (patch 57)
- Copy/update icons from Gnus trunk
author | Miles Bader <miles@gnu.org> |
---|---|
date | Mon, 13 Mar 2006 12:19:58 +0000 |
parents | a7364c1a561e 385f9e668650 |
children | a8190f7e546e |
comparison
equal
deleted
inserted
replaced
90364:494bf720eaf0 | 90365:a802c5505156 |
---|---|
1321 \(We finish by killing that buffer and setting the variable to nil.) | 1321 \(We finish by killing that buffer and setting the variable to nil.) |
1322 The buffer to mark them in is `flyspell-large-region-buffer'." | 1322 The buffer to mark them in is `flyspell-large-region-buffer'." |
1323 (let (words-not-found | 1323 (let (words-not-found |
1324 (ispell-otherchars (ispell-get-otherchars)) | 1324 (ispell-otherchars (ispell-get-otherchars)) |
1325 (buffer-scan-pos flyspell-large-region-beg) | 1325 (buffer-scan-pos flyspell-large-region-beg) |
1326 (case-fold-search nil)) | 1326 case-fold-search) |
1327 (with-current-buffer flyspell-external-ispell-buffer | 1327 (with-current-buffer flyspell-external-ispell-buffer |
1328 (goto-char (point-min)) | 1328 (goto-char (point-min)) |
1329 ;; Loop over incorrect words, in the order they were reported, | 1329 ;; Loop over incorrect words, in the order they were reported, |
1330 ;; which is also the order they appear in the buffer being checked. | 1330 ;; which is also the order they appear in the buffer being checked. |
1331 (while (re-search-forward "\\([^\n]+\\)\n" nil t) | 1331 (while (re-search-forward "\\([^\n]+\\)\n" nil t) |
1407 ;;* ------------------------------------------------------------- */ | 1407 ;;* ------------------------------------------------------------- */ |
1408 ;;* This function is used to prevent marking of words explicitly */ | 1408 ;;* This function is used to prevent marking of words explicitly */ |
1409 ;;* declared correct. */ | 1409 ;;* declared correct. */ |
1410 ;;*---------------------------------------------------------------------*/ | 1410 ;;*---------------------------------------------------------------------*/ |
1411 (defun flyspell-process-localwords (misspellings-buffer) | 1411 (defun flyspell-process-localwords (misspellings-buffer) |
1412 (let (localwords | 1412 (let (localwords case-fold-search |
1413 (case-fold-search nil) | |
1414 (ispell-casechars (ispell-get-casechars))) | 1413 (ispell-casechars (ispell-get-casechars))) |
1415 ;; Get localwords from the original buffer | 1414 ;; Get localwords from the original buffer |
1416 (save-excursion | 1415 (save-excursion |
1417 (goto-char (point-min)) | 1416 (goto-char (point-min)) |
1418 ;; Localwords parsing copied from ispell.el. | 1417 ;; Localwords parsing copied from ispell.el. |