>> Would the 100% untested patch below make sense?
>> ...
>> +(if (fboundp 'major-mode-remap)
>> +(major-mode-remap mode)
>> + mode)))
>
> Thanks!
> Applied, onto main, after adding proper commit message.
Oh! Wonderful, thanks Ihor!
Stefan
Stefan Monnier writes:
> Would the 100% untested patch below make sense?
> ...
> +(if (fboundp 'major-mode-remap)
> +(major-mode-remap mode)
> + mode)))
Thanks!
Applied, onto main, after adding proper commit message.
https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?i
Would the 100% untested patch below make sense?
Stefan
diff --git a/lisp/org/org-src.el b/lisp/org/org-src.el
index 229bf62e1c0..1f0306a1f98 100644
--- a/lisp/org/org-src.el
+++ b/lisp/org/org-src.el
@@ -970,11 +970,14 @@ org-src-do-key-sequence-at-code-block
(defun org-src-get-lang-mo