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

Re: emacs-snapshot load-path and dictionaries-common {ispell,flyspell}}.el

Agustin Martin <agustin.martin@hispalinux.es> writes:

> However emacs-snapshot seems to load ispell and flyspell from
> dictionaries-common rather than from its byte-compiled files

Are you sure?  It doesn't do that here...

ELISP> (locate-library "flyspell")
ELISP> (locate-library "ispell")

> The reason for this is that emacs-snapshot load-path is
> [...]
> /usr/share/emacs/site-lisp/*      (dict-common files are here)
> /usr/share/emacs/22.0.50/*        (emacs-snapshot files are here)

/usr/share/emacs/site-lisp/ doesn't have a subdirs.el file, so its
subdirs won't be loaded automatically.  So the files shouldn't be
loaded, unless /usr/share/emacs/site-lisp/dictionaries-common/ is added
to the path explicitly.

And it isn't in 'emacs-snapshot -q':

ELISP> (member "/usr/share/emacs/site-lisp/dictionaries-common/" load-path)

Perhaps some package on your system is messing with load-path?

 : :' :        Romain Francoise <rfrancoise@debian.org>
 `. `'         http://people.debian.org/~rfrancoise/

Reply to: