aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoão Távora2020-05-12 19:33:19 +0100
committerJoão Távora2020-05-12 19:34:31 +0100
commit3d819956923ecbbc79f5b3ac154109a7ec7150b7 (patch)
treec4ddb7767478e5f493f2ffce77e56e8676f1e4a5
parent632aa9d57a53399088016c0cf29621653b61d7aa (diff)
downloademacs-3d819956923ecbbc79f5b3ac154109a7ec7150b7.tar.gz
emacs-3d819956923ecbbc79f5b3ac154109a7ec7150b7.zip
Fix docstring of flymake-make-diagnostic (bug#40351)
* lisp/progmodes/flymake.el (flymake-make-diagnostic): Fix docstring
-rw-r--r--lisp/progmodes/flymake.el7
1 files changed, 4 insertions, 3 deletions
diff --git a/lisp/progmodes/flymake.el b/lisp/progmodes/flymake.el
index 7fca9dac1af..1ed733b7e37 100644
--- a/lisp/progmodes/flymake.el
+++ b/lisp/progmodes/flymake.el
@@ -313,9 +313,10 @@ generated it."
313 &optional data 313 &optional data
314 overlay-properties) 314 overlay-properties)
315 "Make a Flymake diagnostic for BUFFER's region from BEG to END. 315 "Make a Flymake diagnostic for BUFFER's region from BEG to END.
316TYPE is a key to symbol and TEXT is a description of the problem 316TYPE is a diagnostic symbol and TEXT is string describing the
317detected in this region. DATA is any object that the caller 317problem detected in this region. DATA is any object that the
318wishes to attach to the created diagnostic for later retrieval. 318caller wishes to attach to the created diagnostic for later
319retrieval.
319 320
320OVERLAY-PROPERTIES is an alist of properties attached to the 321OVERLAY-PROPERTIES is an alist of properties attached to the
321created diagnostic, overriding the default properties and any 322created diagnostic, overriding the default properties and any