Hi,

> > > A temporary hack would be to add an entry to your .emacs file, something
> > > like (if none is explicitly set)
> > > 
> > > ;; ----------------------------
> > > (setq ispell-local-dictionary-alist
> > >       (append ispell-local-dictionary-alist
> > >               '(
> > >           ("castellano8"
> > >                  "[[:alpha:]]"
> > >                  "[^[:alpha:]]"
> > >                  "[-]" t ("-d" "es_ES") nil utf-8)
> > >                 )))
> > > ;; ---------------------------
> > > 
> > > adapted to your language. Do not forget to remove it once either hunspell 
> > > or
> > > Emacs are fixed.
> > 
> > Thanks! Unfortuantely, I don't think this would work because, as far as
> > I understand it, the list of dictionaries is computed when a
> > spell-checking command is run for the first time so I'd expect that such
> > a definition in the .emacs.el file would be overwritten.
> 
> Please try it.

Sorry. I added the following to my .emacs.el:

(setq ispell-local-dictionary-alist
      (append ispell-local-dictionary-alist
              '(
            ("francais7"
                 "[[:alpha:]]"
                 "[^[:alpha:]]"
                 "[-]" t ("-d" "fr_FR") nil utf-8)
                )))

When I start emacs I get the following error message:

Symbol's value as variable is void: ispell-local-dictionary-alist

Sébastien.

Reply via email to