This spot of code extends M-x ffap to go to the source file for a perl
module.  The best feature is extending or pruning the module name to
help on abbreviations, subpackages and variables.

I've slightly wondered if this sort of thing stretches ffap beyond what
it was really meant for, but the target is a file, and when you're on a
"use Foo::Bar" line such a find isn't a million miles away from what
ffap already does for a C #include.

Attachment: ffap-perl-module.el
Description: application/emacs-lisp

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)

iD8DBQBJZ+a6LFMCIV9q3ToRAqfqAJ9jFxUKaTvnSYC8HbiMOtSwLl2LTgCfeaU2
5YR31AbF49z+GvTeUyrIveA=
=efBN
-----END PGP SIGNATURE-----
_______________________________________________
gnu-emacs-sources mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/gnu-emacs-sources

Reply via email to