[Github-comments] [geany/geany-plugins] Markdown: Update using known GeanyDocument when available (#1064)

Colomban Wendling notifications at xxxxx
Wed Feb 10 20:03:31 UTC 2021


@b4n commented on this pull request.



>  {
-  GeanyDocument *doc = document_get_current();
+  if (!DOC_VALID(doc))

Wouldn't simply `doc == NULL` work here?  Do you really get non-NULL doc pointers that have `doc->valid == FALSE`?

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany-plugins/pull/1064#pullrequestreview-588000690
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.geany.org/pipermail/github-comments/attachments/20210210/c669e6e6/attachment.htm>


More information about the Github-comments mailing list