This is a couple of lines I made to buttonize ".emacs" and "foo.el" in docstrings, going to those those files either user-init-file for .emacs or the usual locate-library for .el files.
.el filenames in docstrings are usually in add-on libraries mentioning related things etc. Within emacs itself of course cross references are usually to a symbol, mode name, etc. The buttonizing matches anything filename-like since there's no specific delimiters. I suppose demanding quotes like `foo.el' or `.emacs' could be sure to make them unambiguous, though words ending ".el" are close enough in practice.
help-xref-elfiles.el
Description: application/emacs-lisp
-----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) iD8DBQBPCKprLFMCIV9q3ToRAkETAJ9OCotXOGoCrpFpZHA5gEQOcypaLgCdHeVp w+a0X0R3xw3+SiL77Q3dzwU= =3wGh -----END PGP SIGNATURE-----
_______________________________________________ gnu-emacs-sources mailing list [email protected] https://lists.gnu.org/mailman/listinfo/gnu-emacs-sources
