Hi Charles,

> [...]
> The test uses lines like:
>
>       (execute-kbd-macro  "\M-xorg-babel-goto-named-src-block\n\n")
>
> to emulate interactive usage.
>
> This feels like a hack, and the messages generated spill into my
> *shell* buffer when I run `make test'.  If there is a cleaner way to
> do this, I'd like to know it.
>
> WDYT?

Why not just use e.g.

  (org-babel-goto-named-src-block "def")

instead of

  (execute-kbd-macro  "\M-xorg-babel-goto-named-src-block\ndef\n")

?


Best regards,
-- 
Marco Wahl <-> 0x49010A040A3AE6F2


Reply via email to