From: Michael Heerdegen Date: Wed, 21 Oct 2015 12:25:58 +0000 (+0200) Subject: document el-search--do-subsexps X-Git-Url: https://code.delx.au/gnu-emacs-elpa/commitdiff_plain/73715266ac4dedebeeb2e5942c5810313ba39461 document el-search--do-subsexps --- diff --git a/packages/el-search/el-search.el b/packages/el-search/el-search.el index e7786c158..8eb328e49 100644 --- a/packages/el-search/el-search.el +++ b/packages/el-search/el-search.el @@ -351,7 +351,11 @@ return nil (no error)." match-beg)) (defun el-search--do-subsexps (pos do-fun &optional ret-fun bound) - ;; bound -> nil means till end of buffer + ;; In current buffer, for any expression start between POS and BOUND + ;; or (point-max), in oder, call two argument function DO-FUN with + ;; the current sexp string and the ending position of the current + ;; sexp. When done, with RET-FUN given, call it with no args and + ;; return the result; else, return nil. (save-excursion (goto-char pos) (condition-case nil