Mercurial > emacs
comparison lisp/image.el @ 69569:dd7f85a6af09
(image-load-path-for-library): Shorten first line in docstring.
author | Bill Wohler <wohler@newt.com> |
---|---|
date | Sun, 19 Mar 2006 18:19:12 +0000 |
parents | 3feef8dfbff5 |
children | de6c9508749d e3bacb89536a |
comparison
equal
deleted
inserted
replaced
69568:303818bc3ae8 | 69569:dd7f85a6af09 |
---|---|
77 (list (file-name-as-directory (expand-file-name "images" data-directory)) | 77 (list (file-name-as-directory (expand-file-name "images" data-directory)) |
78 'data-directory 'load-path))) | 78 'data-directory 'load-path))) |
79 | 79 |
80 | 80 |
81 (defun image-load-path-for-library (library image &optional path no-error) | 81 (defun image-load-path-for-library (library image &optional path no-error) |
82 "Return a suitable search path for images used by the Lisp package LIBRARY. | 82 "Return a suitable search path for images used by LIBRARY. |
83 | 83 |
84 It searches for IMAGE in `image-load-path' (excluding | 84 It searches for IMAGE in `image-load-path' (excluding |
85 \"`data-directory'/images\") and `load-path', followed by a path | 85 \"`data-directory'/images\") and `load-path', followed by a path |
86 suitable for LIBRARY, which includes \"../../etc/images\" and | 86 suitable for LIBRARY, which includes \"../../etc/images\" and |
87 \"../etc/images\" relative to the library file itself, and then | 87 \"../etc/images\" relative to the library file itself, and then |