For reasons which ellude me, the org-in-src-block-p function is
disappointingly inconsistent for me. Given its major role in
narrow-or-widen-dwim, this frequently led to org-edit-src-code not
getting called when point was inside a code block.
I’ve edited the narrow-or-widen-dwim to not need that function. Go
copy it again if you were using it.
Fixing org-in-src-block-p
23 Sep 2014, by Artur Malabarba.For reasons which ellude me, the
org-in-src-block-p
function is disappointingly inconsistent for me. Given its major role in narrow-or-widen-dwim, this frequently led toorg-edit-src-code
not getting called when point was inside a code block.I’ve edited the narrow-or-widen-dwim to not need that function. Go copy it again if you were using it.
Tags: org-mode, init.el, emacs,
Emacs Stack Exchange enters Beta »
« Exclude Directories from Grep
Related Posts
Define context-aware keys in Emacs in org-mode
Changing the org-mode ellipsis in org-mode
Better time-stamps in org-export in org-mode
Content © 2019, All rights reserved. Icons under CC3.0.