emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[BUG] lisp/org-eldoc.el: Eldoc does not work in org source blocks


From: Bruno Cardoso
Subject: [BUG] lisp/org-eldoc.el: Eldoc does not work in org source blocks
Date: Sun, 28 May 2023 21:35:52 -0300

Hello everyone.

The Eldoc interface `eldoc-print-current-symbol-info' works everywhere just 
fine for me (Emacs
28.2), but it does not work inside org source blocks for elisp code. Yet, 
reverting to the
obsolete `elisp-eldoc-documentation-function' in org-eldoc's
`org-eldoc-documentation-function' works (see below). I tested it both in my 
own config and
"emacs -Q" with same results.

---
 lisp/org-eldoc.el | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/lisp/org-eldoc.el b/lisp/org-eldoc.el
index 7137c46..24f0aa3 100644
--- a/lisp/org-eldoc.el
+++ b/lisp/org-eldoc.el
@@ -156,7 +156,8 @@
                    (fboundp 'elisp-eldoc-funcall))
               (let ((eldoc-documentation-functions
                      '(elisp-eldoc-var-docstring elisp-eldoc-funcall)))
-                (eldoc-print-current-symbol-info)))
+                ;;(eldoc-print-current-symbol-info)))
+                (elisp-eldoc-documentation-function)))
              ((fboundp 'elisp-eldoc-documentation-function)
               (elisp-eldoc-documentation-function))
              (t            ; Emacs<25
-- 
2.40.1


Is this in fact a bug or should I have configured something else?

Best,

Bruno.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]