I thought I had updated emacs to the latest version, but apparently not.
After upgrading to emacs-26 the command org-in-src-block-p works as
expected. Thanks!

Best,
Eivind

On Tue, Oct 2, 2018 at 10:30 AM Robert Pluim <rpl...@gmail.com> wrote:

> Eivind Otto Hjelle <eohje...@gmail.com> writes:
>
> > The function 'org-in-src-block-p' always returns nil on my system
> > running Windows 10.
> >
> > How to reproduce this bug starting from 'emacs -Q':
> > Define a function 'test-org-in-src-block-p' in the scratch buffer as
> > follows:
> >
> > (defun test-org-in-src-block-p ()
> >   (interactive)
> >   (print (org-in-src-block-p)))
> >
> > Navigate to a src block in org mode and call 'M-x
> > test-org-in-src-block-p'. Now nil is printed to the message buffer.
>
> Works for me in emacs-26. Would it be possible to try that version?
>
> Regards
>
> Robert
>

Reply via email to