org-eldoc: Handle source blocks with empty language
commitebe7aa66928a01f3af89c9ebeb5c5e130a5b3265
authorFabrice Popineau <fabrice.popineau@gmail.com>
Thu, 7 Jul 2016 09:25:12 +0000 (7 11:25 +0200)
committerNicolas Goaziou <mail@nicolasgoaziou.fr>
Thu, 7 Jul 2016 10:17:49 +0000 (7 12:17 +0200)
treecaeda85e89cb3415e8a6104f751408a2b737b02e
parente31587fa133b3fd20575c4a058cf859716cf362d
org-eldoc: Handle source blocks with empty language

* contrib/lisp/org-eldoc.el (org-eldoc-get-src-header): When inserting
  a new src block, the language may not yet be chosen when this is
  called.
contrib/lisp/org-eldoc.el