emacs-diffs
[Top][All Lists]
Advanced

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

emacs-27 3d81995: Fix docstring of flymake-make-diagnostic (bug#40351)


From: Joo Tvora
Subject: emacs-27 3d81995: Fix docstring of flymake-make-diagnostic (bug#40351)
Date: Tue, 12 May 2020 14:35:08 -0400 (EDT)

branch: emacs-27
commit 3d819956923ecbbc79f5b3ac154109a7ec7150b7
Author: João Távora <address@hidden>
Commit: João Távora <address@hidden>

    Fix docstring of flymake-make-diagnostic (bug#40351)
    
    * lisp/progmodes/flymake.el (flymake-make-diagnostic): Fix docstring
---
 lisp/progmodes/flymake.el | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/lisp/progmodes/flymake.el b/lisp/progmodes/flymake.el
index 7fca9da..1ed733b 100644
--- a/lisp/progmodes/flymake.el
+++ b/lisp/progmodes/flymake.el
@@ -313,9 +313,10 @@ generated it."
                                 &optional data
                                 overlay-properties)
   "Make a Flymake diagnostic for BUFFER's region from BEG to END.
-TYPE is a key to symbol and TEXT is a description of the problem
-detected in this region.  DATA is any object that the caller
-wishes to attach to the created diagnostic for later retrieval.
+TYPE is a diagnostic symbol and TEXT is string describing the
+problem detected in this region.  DATA is any object that the
+caller wishes to attach to the created diagnostic for later
+retrieval.
 
 OVERLAY-PROPERTIES is an alist of properties attached to the
 created diagnostic, overriding the default properties and any



reply via email to

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