emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] externals/wcheck-mode a2affd8 28/39: Improve the doc string of wc


From: Teemu Likonen
Subject: [elpa] externals/wcheck-mode a2affd8 28/39: Improve the doc string of wcheck--generate-face-predicate function
Date: Sun, 4 Oct 2020 07:55:22 -0400 (EDT)

branch: externals/wcheck-mode
commit a2affd814c26ae25dfa53c785d2442badeadcbf9
Author: Teemu Likonen <tlikonen@iki.fi>
Commit: Teemu Likonen <tlikonen@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))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]