[comp.emacs] need lisp function to find filename under point

zoo@APS1.SPA.UMN.EDU (03/18/91)

I'd like to be able to do something on the order of this:

When I'm editing C code, and I want to edit a header file, my cursor
is often near the #include statement.  I'd then like to use some
function to find the filename of the include statement, and then
ideally use a search path (local variable with a default to
("/usr/local/include" "/usr/include") probably) to visit that file.

Does anyone have code to do the above?  Or at the very least find a
filename at point?

Thanks for the help.

david d [zoo] zuhn		Univ. of Minnesota Dept. of Astronomy
zoo@aps1.spa.umn.edu		      Automated Plate Scanner Project