diff options
| author | João Távora | 2020-05-12 19:33:19 +0100 |
|---|---|---|
| committer | João Távora | 2020-05-12 19:34:31 +0100 |
| commit | 3d819956923ecbbc79f5b3ac154109a7ec7150b7 (patch) | |
| tree | c4ddb7767478e5f493f2ffce77e56e8676f1e4a5 | |
| parent | 632aa9d57a53399088016c0cf29621653b61d7aa (diff) | |
| download | emacs-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.el | 7 |
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. |
| 316 | TYPE is a key to symbol and TEXT is a description of the problem | 316 | TYPE is a diagnostic symbol and TEXT is string describing the |
| 317 | detected in this region. DATA is any object that the caller | 317 | problem detected in this region. DATA is any object that the |
| 318 | wishes to attach to the created diagnostic for later retrieval. | 318 | caller wishes to attach to the created diagnostic for later |
| 319 | retrieval. | ||
| 319 | 320 | ||
| 320 | OVERLAY-PROPERTIES is an alist of properties attached to the | 321 | OVERLAY-PROPERTIES is an alist of properties attached to the |
| 321 | created diagnostic, overriding the default properties and any | 322 | created diagnostic, overriding the default properties and any |