From: João Távora Date: Tue, 12 May 2020 18:33:19 +0000 (+0100) Subject: Fix docstring of flymake-make-diagnostic (bug#40351) X-Git-Tag: emacs-27.1-rc1~132 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=3d819956923ecbbc79f5b3ac154109a7ec7150b7;p=emacs.git Fix docstring of flymake-make-diagnostic (bug#40351) * lisp/progmodes/flymake.el (flymake-make-diagnostic): Fix docstring --- 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." &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