[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] [PATCH] org-babel-goto-named-src-block bugfix and test
From: |
Marco Wahl |
Subject: |
Re: [O] [PATCH] org-babel-goto-named-src-block bugfix and test |
Date: |
Sun, 12 Jun 2016 12:21:15 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux) |
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