diff options
author | Nicolas Goaziou <mail@nicolasgoaziou.fr> | 2019-04-07 09:15:11 +0200 |
---|---|---|
committer | Nicolas Goaziou <mail@nicolasgoaziou.fr> | 2019-04-07 09:16:54 +0200 |
commit | 285486c23bf09c6c3c46f9242f6ac2a4ebc883d0 (patch) | |
tree | 35546b32d0b7720db090b927b6c99f01a6610e54 | |
parent | c0218ea7462d3ff98683771cbcb4873853770325 (diff) | |
download | org-mode-285486c23bf09c6c3c46f9242f6ac2a4ebc883d0.tar.gz |
org-eldoc: Fix error on shell source blocks
* contrib/lisp/org-eldoc.el (org-eldoc-get-mode-local-documentation-function):
Handle `org-src-lang-modes' correctly.
-rw-r--r-- | contrib/lisp/org-eldoc.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/lisp/org-eldoc.el b/contrib/lisp/org-eldoc.el index 556b945..4003c12 100644 --- a/contrib/lisp/org-eldoc.el +++ b/contrib/lisp/org-eldoc.el @@ -110,7 +110,7 @@ (defun org-eldoc-get-mode-local-documentation-function (lang) "Check if LANG-mode sets eldoc-documentation-function and return its value." (let ((cached-func (gethash lang org-eldoc-local-functions-cache 'empty)) - (mode-func (intern-soft (format "%s-mode" lang))) + (mode-func (org-src-get-lang-mode lang)) doc-func) (if (eq 'empty cached-func) (when (fboundp mode-func) |