Make a flymake.texi code example more resilient
* doc/misc/flymake.texi (An annotated example backend): Make the example code resilient wrt. narrowed buffers (bug#51437).
This commit is contained in:
@@ -801,6 +801,7 @@ Binding,,, elisp, The Emacs Lisp Reference Manual}) to be active.
|
||||
for type = (if (string-match "^warning" msg)
|
||||
:warning
|
||||
:error)
|
||||
when (and beg end)
|
||||
collect (flymake-make-diagnostic source
|
||||
beg
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user