annotate vpath.sed @ 74740:46f8a3942acb
(magic-mode-alist): Allow matching file type by
calling a function at bob. Check for image types by calling
image-type-from-buffer. Suggested by Juanma Barranquero.
(set-auto-mode): Do it.
author |
Kim F. Storm <storm@cua.dk> |
date |
Tue, 19 Dec 2006 09:04:30 +0000 |
parents |
695cf19ef79e |
children |
375f2633d815 |
rev |
line source |
4703
|
1 /^VPATH *=/c\
|
|
2 # This works only in GNU make. Using the patterns avoids\
|
|
3 # object files being found by VPATH, and thus permits building\
|
|
4 # when $srcdir is configured itself.\
|
|
5 vpath %.c $(srcdir)\
|
|
6 vpath %.h $(srcdir)\
|
|
7 \
|
52401
|
8
|
|
9 # arch-tag: 56a64b50-e4e8-443a-960f-f13af0f1a545
|