Commit 84992dff authored by Agustín Martín's avatar Agustín Martín
Browse files

flyspell.el (flyspell-generic-progmode-verify): Make sure to check inside the word (Bug#6761).

parent f16cafe3
2010-11-15 Agustín Martín <>
* textmodes/flyspell.el (flyspell-generic-progmode-verify):
Make sure to check inside the word (Bug#6761).
2010-11-14 Chong Yidong <>
* startup.el (command-line): If the cursorColor resource is set,
......@@ -380,7 +380,8 @@ like <img alt=\"Some thing.\">."
(defun flyspell-generic-progmode-verify ()
"Used for `flyspell-generic-check-word-predicate' in programming modes."
(let ((f (get-text-property (point) 'face)))
;; (point) is next char after the word. Must check one char before.
(let ((f (get-text-property (- (point) 1) 'face)))
(memq f flyspell-prog-text-faces)))
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment