From: Dmitrii Kuragin Date: Thu, 6 May 2021 09:45:06 +0000 (+0200) Subject: Fix ispell program comparison X-Git-Tag: emacs-28.0.90~2595 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=c8c27864aa5db2604304a6354ae441c7b0ca5474;p=emacs.git Fix ispell program comparison * lisp/textmodes/ispell.el (ispell-set-spellchecker-params): Compare strings with `equal', not `eq' (since the identity of the string may change) (bug#48246). Copyright-paperwork-exempt: yes --- diff --git a/lisp/textmodes/ispell.el b/lisp/textmodes/ispell.el index 932308ee59d..4dbc7640bcf 100644 --- a/lisp/textmodes/ispell.el +++ b/lisp/textmodes/ispell.el @@ -1245,7 +1245,7 @@ aspell is used along with Emacs).") (defun ispell-set-spellchecker-params () "Initialize some spellchecker parameters when changed or first used." - (unless (eq ispell-last-program-name ispell-program-name) + (unless (equal ispell-last-program-name ispell-program-name) (ispell-kill-ispell t) (if (and (condition-case () (progn