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
This commit is contained in:
parent
f0648fef35
commit
c8c27864aa
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue