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

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

Re: 24.2.1: ispell: use of local ispell-personal-dictionary


From: Michael Heerdegen
Subject: Re: 24.2.1: ispell: use of local ispell-personal-dictionary
Date: Sat, 24 Nov 2012 03:57:18 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.2.50 (gnu/linux)

Hi Akim,

your file local variable `ispell-personal-dictionary' is bound to the
string "../en.dict" when you open your file.  Note that no expansion of
the ".." takes place.  Whether this string later is interpreted as
intended or not is just luck...

It is better to bind the variable to an expanded filename.  This can be
done using `eval':

%%% eval: (set (make-local-variable 'ispell-personal-dictionary) 
(expand-file-name "../en.dict"))


BTW, also consider using a directory local variable for this.


Regards,

Michael.



reply via email to

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