]> git.eshelyaron.com Git - emacs.git/commitdiff
(ispell-buffer-local-words): Don't treat doublequote
authorRichard M. Stallman <rms@gnu.org>
Wed, 24 Aug 1994 19:53:17 +0000 (19:53 +0000)
committerRichard M. Stallman <rms@gnu.org>
Wed, 24 Aug 1994 19:53:17 +0000 (19:53 +0000)
specially when splitting the line into words.

lisp/textmodes/ispell.el

index 57e572956f31dec17cf03a37490b489243c15b7f..3b124ccd90283119e9d9ff2ba8497a06950c7145 100644 (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")))))))