From 1e40dd6486665450962045324d9ca23755150de6 Mon Sep 17 00:00:00 2001 From: Nicolas Goaziou Date: Sat, 23 Dec 2017 14:03:52 +0100 Subject: [PATCH] ob-core: Tiny refactoring * lisp/ob-core.el (org-babel-expand-noweb-references): Tiny refactoring. --- lisp/ob-core.el | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/lisp/ob-core.el b/lisp/ob-core.el index d1ff50039..dd42f1326 100644 --- a/lisp/ob-core.el +++ b/lisp/ob-core.el @@ -2761,9 +2761,8 @@ block but are passed literally to the \"example-block\"." (let ((raw (org-babel-ref-resolve source-name))) (if (stringp raw) raw (format "%S" raw))) (or - ;; Retrieve from the library of babel. - (nth 2 (assoc (intern source-name) - org-babel-library-of-babel)) + ;; Retrieve from the Library of Babel. + (nth 2 (assoc-string source-name org-babel-library-of-babel)) ;; Return the contents of headlines literally. (save-excursion (when (org-babel-ref-goto-headline-id source-name)