branch: externals/wcheck-mode commit a2affd814c26ae25dfa53c785d2442badeadcbf9 Author: Teemu Likonen <tliko...@iki.fi> Commit: Teemu Likonen <tliko...@iki.fi>
Improve the doc string of wcheck--generate-face-predicate function The documentation now speaks of "predicate function" instead of "predicate expression". --- wcheck-mode.el | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/wcheck-mode.el b/wcheck-mode.el index 69d27bc..7f2fa82 100644 --- a/wcheck-mode.el +++ b/wcheck-mode.el @@ -1925,11 +1925,11 @@ Both arguments are lists." (defun wcheck--generate-face-predicate (language mode) - "Generate a face predicate expression for scanning buffer. -Return a predicate expression that is used to decide whether + "Generate a face predicate function for scanning buffer. +Return a predicate function that is used to decide whether `wcheck-mode' should read or paint text at the current point -position with LANGUAGE and MODE. Evaluating the predicate -expression will return a boolean." +position with LANGUAGE and MODE. The called predicate function +will return a boolean." (let* ((face-settings (wcheck--major-mode-face-settings language mode)) (mode (nth 1 face-settings))