Mercurial > emacs
comparison lispref/display.texi @ 69421:a8284aa5c2b4
(Defining Images): Add @tindex for image-load-path-for-library.
author | Bill Wohler <wohler@newt.com> |
---|---|
date | Sat, 11 Mar 2006 22:43:44 +0000 |
parents | 2f43ac9fe122 |
children | 831f4f793f95 a802c5505156 |
comparison
equal
deleted
inserted
replaced
69420:337a846a85de | 69421:a8284aa5c2b4 |
---|---|
4124 (defimage foo-image '((:type xpm :file "foo/bar.xpm"))) | 4124 (defimage foo-image '((:type xpm :file "foo/bar.xpm"))) |
4125 @end example | 4125 @end example |
4126 @end defvar | 4126 @end defvar |
4127 | 4127 |
4128 @defun image-load-path-for-library library image &optional path no-error | 4128 @defun image-load-path-for-library library image &optional path no-error |
4129 @tindex image-load-path-for-library | |
4129 Return a suitable search path for images relative to @var{library}. | 4130 Return a suitable search path for images relative to @var{library}. |
4130 | 4131 |
4131 Images for @var{library} are searched for in @file{../../etc/images} | 4132 Images for @var{library} are searched for in @file{../../etc/images} |
4132 and @file{../etc/images} relative to the files in | 4133 and @file{../etc/images} relative to the files in |
4133 @file{lisp/@var{library}} as well as in @code{image-load-path} and | 4134 @file{lisp/@var{library}} as well as in @code{image-load-path} and |