bug-gnu-emacs
[Top][All Lists]
Advanced

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

bug#8579: 24.0.50; ispell bug in `ispell-add-per-file-word-list'


From: Agustin Martin
Subject: bug#8579: 24.0.50; ispell bug in `ispell-add-per-file-word-list'
Date: Tue, 3 May 2011 13:12:51 +0200
User-agent: Mutt/1.5.21 (2010-09-15)

On Thu, Apr 28, 2011 at 06:08:26PM +0200, Dirk Ullrich wrote:
> 
> * How to reproduce the bug:
> 
> Load a text file;
> Enable `flyspell-mode'
> Type a word not contained in the active Ispell dictionary, and place the
> point just behind the word;
> Run command `flyspell-correct-word-before-point',
> and choose the option `Accept (Buffer)';
> 
> * Symptom:
> 
> Emacs signals an error:
> flyspell-do-correct: Wrong type argument: char-or-string-p, nil
> 
> * Diagnosis:
> 
> `ispell.el's function `ispell-add-per-file-word-list' cannot handle a
> `nil' value of the `comment-start' variable.
> 
> * A possible fix:
> 
> This is a fixed version of `ispell-add-per-file-word-list'.
> It ignores the comment-related stuff if `comment-begin' (or
> `comment-end') has value `nil'.

Fix installed. Thanks for your contribution.

-- 
Agustin





reply via email to

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