aspell: set a misspelled word without suggestions in local variable "aspell_suggest" (closes #1288)

This commit is contained in:
Nils Görs 2019-01-26 22:38:22 +01:00 committed by Sébastien Helleu
parent 5a681f3c5e
commit 68bdc5fb09

View File

@ -894,7 +894,9 @@ weechat_aspell_modifier_cb (const void *pointer, void *data,
}
else
{
weechat_buffer_set (buffer, "localvar_del_aspell_suggest", "");
/* set a misspelled word in buffer, also without suggestions */
weechat_buffer_set (buffer, "localvar_set_aspell_suggest",
word_for_suggestions);
}
free (word_for_suggestions);
}