From: Agustín Martín Date: Fri, 18 May 2012 07:36:09 +0000 (+0200) Subject: textmodes/flyspell.el: Minor change over last 2012-05-18T07:04:04Z!agustin.martin... X-Git-Tag: emacs-24.2.90~471^2~30 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=80a511622c52f16583c549a3b16cd419a77f015e;p=emacs.git textmodes/flyspell.el: Minor change over last 2012-05-18T07:04:04Z!agustin.martin@hispalinux.es change. Use ispell-otherchars variable. Use ispell-otherchars variable rather than (ispell-get-otherchars). --- diff --git a/lisp/textmodes/flyspell.el b/lisp/textmodes/flyspell.el index 89134a1d355..af924dd403b 100644 --- a/lisp/textmodes/flyspell.el +++ b/lisp/textmodes/flyspell.el @@ -828,7 +828,7 @@ Mostly we check word delimiters." (backward-char 1) (and (looking-at (flyspell-get-not-casechars)) (or (string= "" ispell-otherchars) - (not (looking-at (ispell-get-otherchars)))) + (not (looking-at ispell-otherchars))) (or flyspell-consider-dash-as-word-delimiter-flag (not (looking-at "-")))))) ;; yes because we have reached or typed a word delimiter. @@ -896,7 +896,7 @@ Mostly we check word delimiters." (backward-char 1) (and (and (looking-at (flyspell-get-not-casechars)) 1) (or (string= "" ispell-otherchars) - (not (looking-at (ispell-get-otherchars)))) + (not (looking-at ispell-otherchars))) (and (or flyspell-consider-dash-as-word-delimiter-flag (not (looking-at "\\-"))) 2)))))) c)))) @@ -913,7 +913,7 @@ Mostly we check word delimiters." (backward-char 1) (and (looking-at (flyspell-get-not-casechars)) (or (string= "" ispell-otherchars) - (not (looking-at (ispell-get-otherchars)))) + (not (looking-at ispell-otherchars))) (or flyspell-consider-dash-as-word-delimiter-flag (not (looking-at "\\-")))))))) c))