In org-babel, is there a way for checking for missing noweb references <<...>> or for throwing an error if a reference is missing?
For example in the following I have mistyped the name of the referenced code block. Tangling via C-c C-v f then produces an elisp file with <<function-body>> replaced by nothing and reports no error.
#+PROPERTY: header-args :noweb yes :tangle no :exports none The first code block calls all others. #+BEGIN_SRC emacs-lisp :tangle yes (defun test-fn (a b c) "A test function" <<function-body>>) #+END_SRC #+NAME: function-bod #+BEGIN_SRC emacs-lisp (+ a b c) #+END_SRC Alternatively, is there a reliable way to make sure I don't type such names incorrectly?