summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAgustín Martín <agustin.martin@hispalinux.es>2012-05-18 09:36:09 +0200
committerAgustín Martín <agustin.martin@hispalinux.es>2012-05-18 09:36:09 +0200
commit80a511622c52f16583c549a3b16cd419a77f015e (patch)
treef43279509d7e97fadf4ab003f4be5752f17abab0
parentb7e1feeab6f88af3ebccbde6080e85c3cae8b340 (diff)
downloademacs-80a511622c52f16583c549a3b16cd419a77f015e.tar.gz
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).
-rw-r--r--lisp/textmodes/flyspell.el6
1 files changed, 3 insertions, 3 deletions
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))