branch: externals/wcheck-mode commit 09f0c3a1f0f61622c963b689f9d8aeb1d6c02ce5 Author: Teemu Likonen <tliko...@iki.fi> Commit: Teemu Likonen <tliko...@iki.fi>
Make --generate-face-predicate to take advantage of lexical closures --- wcheck-mode.el | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/wcheck-mode.el b/wcheck-mode.el index 2f6db47..c17a6c0 100644 --- a/wcheck-mode.el +++ b/wcheck-mode.el @@ -1940,15 +1940,15 @@ will return a boolean." (cond ((not font-lock-mode) (lambda () t)) ((eq mode 'read) - `(lambda () - (wcheck--face-found-p - ',faces (wcheck--collect-faces - (match-beginning 1) (match-end 1))))) + (lambda () + (wcheck--face-found-p + faces (wcheck--collect-faces + (match-beginning 1) (match-end 1))))) ((eq mode 'skip) - `(lambda () - (not (wcheck--face-found-p - ',faces (wcheck--collect-faces - (match-beginning 1) (match-end 1)))))) + (lambda () + (not (wcheck--face-found-p + faces (wcheck--collect-faces + (match-beginning 1) (match-end 1)))))) (t (lambda () t)))))