emacs-devel
[Top][All Lists]
Advanced

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

patch: flymake.texi


From: Eduard Wiebe
Subject: patch: flymake.texi
Date: Wed, 19 Sep 2007 00:51:12 +0200
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1 (berkeley-unix)

  Hello,

i found some discrepancies between documentation and source of
'flymake' package. Small patch follows.

--- flymake.texi        06 Sep 2007 07:10:10 +0200      1.2
+++ flymake.texi        13 Sep 2007 22:38:12 +0200      
@@ -313,7 +313,7 @@
 
 @item flymake-err-line-patterns
 Patterns for error/warning messages in the form @code{(regexp file-idx
-line-idx err-text-idx)}. @xref{Parsing the output}.
+line-idx col-idx err-text-idx)}. @xref{Parsing the output}.
 
 @item flymake-compilation-prevents-syntax-check
 A flag indicating whether compilation and syntax check of the same
@@ -333,11 +333,11 @@
 A boolean flag indicating whether to start syntax check after a
 newline character is added to the buffer.
 
address@hidden flymake-errline-face
address@hidden flymake-errline
 A custom face for highlighting lines for which at least one error has
 been reported.
 
address@hidden flymake-warnline-face
address@hidden flymake-warnline
 A custom face for highlighting lines for which at least one warning
 and no errors have been reported.
 
@@ -410,9 +410,9 @@
 First, we write the @code{init-function}:
 
 @lisp
-(defun flymake-perl-init (buffer)
+(defun flymake-perl-init ()
   (let* ((temp-file (flymake-init-create-temp-buffer-copy
-                     buffer 'flymake-create-temp-inplace))
+                     'flymake-create-temp-inplace))
          (local-file  (concat (flymake-build-relative-filename
                                (file-name-directory
                                 (buffer-file-name
@@ -713,8 +713,8 @@
 
 Highlighting is implemented with overlays and happens in the process
 sentinel, after calling the cleanup function. Two customizable faces
-are used: @code{flymake-errline-face} and
address@hidden  Errors belonging outside the current
+are used: @code{flymake-errline} and
address@hidden  Errors belonging outside the current
 buffer are considered to belong to line 1 of the current buffer.
 
 @node Interaction with other modes
--
Eduard Wiebe

reply via email to

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