diff options
| -rw-r--r-- | lisp/ffap.el | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/lisp/ffap.el b/lisp/ffap.el index cabf3395012..8144d41f3a1 100644 --- a/lisp/ffap.el +++ b/lisp/ffap.el | |||
| @@ -797,7 +797,10 @@ specify actions to try creating such a string. A pair matches if either | |||
| 797 | KEY is a symbol, and it equals `major-mode', or | 797 | KEY is a symbol, and it equals `major-mode', or |
| 798 | KEY is a string, it should match NAME as a regexp. | 798 | KEY is a string, it should match NAME as a regexp. |
| 799 | On a match, (FUNCTION NAME) is called and should return a file, an | 799 | On a match, (FUNCTION NAME) is called and should return a file, an |
| 800 | URL, or nil. If nil, search the alist for further matches.") | 800 | URL, or nil. If nil, search the alist for further matches. |
| 801 | While calling FUNCTION, the match data is set according to KEY if KEY | ||
| 802 | is a string, so that FUNCTION can use `match-string' and friends | ||
| 803 | to extract substrings.") | ||
| 801 | 804 | ||
| 802 | (put 'ffap-alist 'risky-local-variable t) | 805 | (put 'ffap-alist 'risky-local-variable t) |
| 803 | 806 | ||