1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-02-23 00:10:48 -08:00

(ispell-buffer-local-words): Don't treat doublequote

specially when splitting the line into words.
This commit is contained in:
Richard M. Stallman 1994-08-24 19:53:17 +00:00
parent e4bfb3b6f1
commit 7195bb7169

View file

@ -2096,7 +2096,9 @@ Both should not be used to define a buffer-local dictionary."
(setq ispell-buffer-local-name (buffer-name)))
(let ((end (save-excursion (end-of-line) (point)))
string)
(while (re-search-forward " *\\([^ \"]+\\)" end t)
;; This used to treat " specially, but that loses for some
;; people using them to fake accented letters.
(while (re-search-forward " *\\([^ ]+\\)" end t)
(setq string (buffer-substring (match-beginning 1) (match-end 1)))
(process-send-string ispell-process (concat "@" string "\n")))))))