On Wed, Mar 28 2007, Ralf Angeli wrote: > * Leo (2007-03-27) writes: >> ,----[ image-load-path ] >> | ("/usr/local/share/emacs/etc/images/" >> | "/usr/local/packages/emacs/share/emacs/22.0.94/etc/images/" >> | data-directory load-path) >> `---- [...] > I'm not into the code of the tool bar, but does it work if you put > (eval-after-load "toolbar-x" > '(mapc (lambda (elt) (add-to-list 'toolbarx-image-path elt)) > image-load-path)) > into your init file? We should probably do something like that in > toolbar-x.el.
`image-load-path' may contain symbols (see above). I doubt that `toolbarx-find-image' can handle these correctly. Additionally, Emacs 21 and XEmacs don't have `image-load-path' so you'd have to add some additional checks. IIRC my "even more ugly hack" (rev. 1.9, Oct. 2005) handled a non-default `image-load-path' correctly (because it used Emacs' `find-image'). But David didn't like it. http://thread.gmane.org/gmane.emacs.auctex.devel/701 http://thread.gmane.org/gmane.emacs.auctex.devel/705 Maybe it's useful to look at `gnus/gmm-utils.el' (gmm-image-load-path-for-library). The same code is also used by MH-E. Bye, Reiner. -- ,,, (o o) ---ooO-(_)-Ooo--- | PGP key available | http://rsteib.home.pages.de/ _______________________________________________ auctex-devel mailing list auctex-devel@gnu.org http://lists.gnu.org/mailman/listinfo/auctex-devel