Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
cc1f9806
Commit
cc1f9806
authored
Sep 17, 2005
by
Richard M. Stallman
Browse files
(Defining Images): Clean up previous change.
parent
6c9abf6a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
6 deletions
+7
-6
lispref/display.texi
lispref/display.texi
+7
-6
No files found.
lispref/display.texi
View file @
cc1f9806
...
...
@@ -3956,16 +3956,17 @@ image files. If an element is a string, it is taken to be the name of
a directory to search. If an element is a variable symbol, the value
of that variable is used as a list of directories to search.
The default is to search in @file{@code{data-directory}/images}, then
in @code{data-directory}, and finally in the directories specified by
The default is to search in the @file{images} subdirectory of the
directory specified by @code{data-directory}, then the directory
specified by @code{data-directory}, and finally in the directories in
@code{load-path}. Subdirectories are not automatically included in
the search, so if you put an image file in a subdirectory, you have to
supply the subdirectory name explicitly. For example,
if you put an
image file
@file{bar.xpm} in @file{
@code{data-directory}
/images/foo/},
you
should
define
the image as:
supply the subdirectory name explicitly. For example,
to find the
image
@
file
{images/foo/bar.xpm} within
@code{data-directory}
you
should
specify
the image as
follows
:
@example
(defimage foo-image '((:type xpm :file "foo/bar.xpm")))
(defimage foo-image '((:type xpm :file "foo/bar.xpm")))
@end example
@end defvar
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment