monnier pushed a commit to branch master
in repository elpa.
commit 0805ab15f05455676335c4f1f2644b6a2cbd1217
Author: Teemu Likonen <[email protected]>
Date: Wed Jun 29 14:36:30 2011 +0300
Add an explicit OPERATION-MODE "nil" in README's examples
---
README | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/README b/README
index b7381d3..e543bd9 100644
--- a/README
+++ b/README
@@ -238,7 +238,7 @@ string with empty string.
(regexp-end . "$")
(regexp-discard . "")
(read-or-skip-faces
- (nil)))
+ (nil nil)))
Sometimes it's useful to highlight only a small number of keywords in
buffer. The following example adds a language called "Highlight FIXMEs"
@@ -257,7 +257,7 @@ modes FIXMEs are marked everywhere.
(face . highlight)
(read-or-skip-faces
((emacs-lisp-mode c-mode) read font-lock-comment-face)
- (nil)))
+ (nil nil)))
The following example adds a language "email" for highlighting email
addresses from buffer and creating an action menu which has option to
@@ -271,7 +271,7 @@ start composing mail to that address. Here's the language
configuration:
(regexp-end . "\\>")
(action-program . email-action-menu)
(read-or-skip-faces
- (nil)))
+ (nil nil)))
Then the needed functions: