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

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

[elpa] externals/flymake-proselint b949503 14/18: Fix example


From: ELPA Syncer
Subject: [elpa] externals/flymake-proselint b949503 14/18: Fix example
Date: Mon, 9 Aug 2021 14:57:23 -0400 (EDT)

branch: externals/flymake-proselint
commit b94950301139846002d2020bc630440ff834bf24
Author: Manuel Uberti <manuel.uberti@inventati.org>
Commit: Manuel Uberti <manuel.uberti@inventati.org>

    Fix example
---
 README.md | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/README.md b/README.md
index 1a247f3..9412623 100644
--- a/README.md
+++ b/README.md
@@ -26,8 +26,9 @@ Then you just need to activate it in the modes you want your 
prose to be
 checked:
 
 ``` emacs-lisp
-(flymake-mode +1)
-(add-hook 'markdown-mode-hook #'flymake-proselint-setup)
+(add-hook 'text-mode-hook (lambda ()
+                            (flymake-mode +1)
+                            (flymake-proselint-setup)))
 ```
 
 



reply via email to

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