emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] externals/guess-language 9763f9e 066/101: Fix #12: boundp wants a


From: Stefan Monnier
Subject: [elpa] externals/guess-language 9763f9e 066/101: Fix #12: boundp wants a symbol
Date: Sat, 23 Feb 2019 10:34:44 -0500 (EST)

branch: externals/guess-language
commit 9763f9e81892c7dd2f5ffa6e771b356beeefafee
Author: Titus von der Malsburg <address@hidden>
Commit: GitHub <address@hidden>

    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)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]