diff --git a/lisp/org-lint.el b/lisp/org-lint.el index 39f0d67c1..aed774ee2 100644 --- a/lisp/org-lint.el +++ b/lisp/org-lint.el @@ -542,7 +542,10 @@ Use :header-args: instead" (org-element-map ast 'src-block (lambda (b) (when-let ((lang (org-element-property :language b))) - (unless (functionp (intern (format "org-babel-execute:%s" lang))) + (unless (or (functionp (intern (format "org-babel-execute:%s" lang))) + ;; No babel backend, but there is corresponding + ;; major mode. + (fboundp (org-src-get-lang-mode lang))) (list (org-element-property :post-affiliated b) (format "Unknown source block language: '%s'" lang)))))))