Hello,

"Berry, Charles" <ccbe...@ucsd.edu> writes:

>> On Aug 25, 2017, at 6:01 AM, Eric S Fraga <ucec...@ucl.ac.uk> wrote:
>> 
>> Hello,
>> 
>> Long story short: org-babel-goto-named-src-block does not seem to work,
>> at least since b862c24b9f or thereabouts?  
>> 
>
>
> Confirmed on my setup. 
>
> Here is an ECM. Always goes to the first block.
>
>       
>
>
> #+BEGIN_SRC emacs-lisp
> "gotcha"
> #+END_SRC
>
> #+NAME: startup
> #+BEGIN_SRC emacs-lisp :results value
> 1
> #+END_SRC
>
> #+begin_src emacs-lisp
>   (defun esf/execute-startup-block ()
>     (interactive)
>     (org-babel-goto-named-src-block "startup")
>     (org-babel-execute-src-block))
> #+end_src

Fixed. Thank you.

Regards,

-- 
Nicolas Goaziou

Reply via email to