Nick Dokos <nicholas.do...@hp.com> writes: > The function is called differently in the two cases: > > > * backtrace with ESC ESC : (org-babel-mark-block) > > org-babel-mark-block() > eval((org-babel-mark-block) nil) > eval-expression((org-babel-mark-block) nil) > call-interactively(eval-expression nil nil) > > > * backtrace with M-x org-babel-mark-block > > org-babel-mark-block() > call-interactively(org-babel-mark-block record nil) > command-execute(org-babel-mark-block record) > execute-extended-command(nil "org-babel-mark-block") > call-interactively(execute-extended-command nil nil) > > > I don't know if that accounts for the difference - my guess is that > it probably does, but I don't know how.
Interesting, I have to check what happens when I use this function in a program. Kind of strange, though, is that a bug in 'org-babel-mark-block' - or in Emacs itself? -- cheers, Thorsten