From: Noam Postavsky Date: Sat, 2 Jul 2016 21:17:55 +0000 (-0400) Subject: Clarify docstring of find-feature-regexp X-Git-Tag: emacs-25.1-rc1~33 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=1b2d6a6;p=emacs.git Clarify docstring of find-feature-regexp * lisp/emacs-lisp/find-func.el (find-feature-regexp): Explain that `%s' is optional (Bug #23520). --- 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