branch: externals/guess-language
commit 9763f9e81892c7dd2f5ffa6e771b356beeefafee
Author: Titus von der Malsburg <[email protected]>
Commit: GitHub <[email protected]>
Fix #12: boundp wants a symbol
---
guess-language.el | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/guess-language.el b/guess-language.el
index 83c8439..5dc2499 100644
--- a/guess-language.el
+++ b/guess-language.el
@@ -165,7 +165,7 @@ If typo doesn't support the language, we leave it alone."
(let* ((lang (guess-language-paragraph))
(codes (cdr (assoc lang guess-language-langcodes))))
(ispell-change-dictionary (car codes))
- (when (and (boundp typo-mode) (cadr codes))
+ (when (and (boundp 'typo-mode) (cadr codes))
(typo-change-language (cadr codes)))))
(defun guess-language-autoset-and-spellcheck-maybe (beginning end doublon)