aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lisp/ffap.el5
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.
799On a match, (FUNCTION NAME) is called and should return a file, an 799On a match, (FUNCTION NAME) is called and should return a file, an
800URL, or nil. If nil, search the alist for further matches.") 800URL, or nil. If nil, search the alist for further matches.
801While calling FUNCTION, the match data is set according to KEY if KEY
802is a string, so that FUNCTION can use `match-string' and friends
803to extract substrings.")
801 804
802(put 'ffap-alist 'risky-local-variable t) 805(put 'ffap-alist 'risky-local-variable t)
803 806