~bzg/org-contrib

4936783e74b7b51d73a0ac397710ef59081819de — Kaushal Modi 26 days ago f237d67
lisp/org-eldoc.el: Fix inf-loop when point in org src blocks

(org-eldoc-documentation-function): Return nil when src block lang is
"org".  Without this, the `org-eldoc-documentation-function' is
repeated called and causes an inf-loop.

Fixes the issue reported in
<https://lists.gnu.org/r/emacs-orgmode/2022-04/msg00373.html>.
1 files changed, 2 insertions(+), 0 deletions(-)

M lisp/org-eldoc.el
M lisp/org-eldoc.el => lisp/org-eldoc.el +2 -0
@@ 142,6 142,8 @@
   (org-eldoc-get-src-header)
   (let ((lang (org-eldoc-get-src-lang)))
     (cond
      ((string= lang "org")       ;Prevent inf-loop for Org src blocks
       nil)
      ((or
        (string= lang "emacs-lisp")
        (string= lang "elisp"))