mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-02-23 05:17:35 +00:00
(ispell-buffer-local-words): Don't treat doublequote
specially when splitting the line into words.
This commit is contained in:
parent
e4bfb3b6f1
commit
7195bb7169
1 changed files with 3 additions and 1 deletions
|
|
@ -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")))))))
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue