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:
parent
72daa8b95a
commit
ce4f354def
1 changed files with 1 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue