summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNoam Postavsky <npostavs@gmail.com>2016-07-02 17:17:55 -0400
committerNoam Postavsky <npostavs@gmail.com>2016-07-09 17:45:48 -0400
commit1b2d6a6f685d929b9a955ae9b42229ed830de58b (patch)
treecb76e2b81c06935d8ea3ec54da3ccadeec71ad28
parentaac62a67dde02f086ae495edbc12a5046143812a (diff)
downloademacs-1b2d6a6f685d929b9a955ae9b42229ed830de58b.tar.gz
Clarify docstring of find-feature-regexp
* lisp/emacs-lisp/find-func.el (find-feature-regexp): Explain that `%s' is optional (Bug #23520).
-rw-r--r--lisp/emacs-lisp/find-func.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/emacs-lisp/find-func.el b/lisp/emacs-lisp/find-func.el
index d2e10eab7dc..43bcb420c36 100644
--- a/lisp/emacs-lisp/find-func.el
+++ b/lisp/emacs-lisp/find-func.el
@@ -103,7 +103,7 @@ Please send improvements and fixes to the maintainer."
(defcustom find-feature-regexp
(concat ";;; Code:")
"The regexp used by `xref-find-definitions' when searching for a feature definition.
-Note it must contain a `%s' at the place where `format'
+Note it may contain up to one `%s' at the place where `format'
should insert the feature name."
;; We search for ";;; Code" rather than (feature '%s) because the
;; former is near the start of the code, and the latter is very