[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[AUCTeX-devel] toolbarx-find-image (was: [AUCTeX-diffs] Changes to aucte
From: |
Reiner Steib |
Subject: |
[AUCTeX-devel] toolbarx-find-image (was: [AUCTeX-diffs] Changes to auctex/toolbar-x.el) |
Date: |
Thu, 20 Oct 2005 22:07:24 +0200 |
User-agent: |
Gnus/5.110004 (No Gnus v0.4) Emacs/22.0.50 (gnu/linux) |
On Thu, Oct 20 2005, David Kastrup wrote:
> find-image is an autoloaded Lisp function in `image'.
> (find-image SPECS)
>
> Find an image, choosing one of a list of image specifications.
>
> And just _how_ is this autoloaded Lisp function going to be found when
> load-path gets pointed elsewhere?
How did you manage _not_ to load `image' with a tool bar present?
> Reiner, please don't replace one hack with an even more ugly and
> dangerous one. I propose that toolbarx-find-image just uses its old
> method (but let us remove data-directory from toolbarx-image-path).
> Only when that fails, does it call find-image.
>
> That is reasonably clean and efficient, and it only depends on
> find-image working.
Sorry, I fail to understand what is clean about (ab)using
`locate-library' plus `create-image' instead of `find-image'. Feel
free to revert my changes.
Bye, Reiner.
--
,,,
(o o)
---ooO-(_)-Ooo--- | PGP key available | http://rsteib.home.pages.de/