From 550659b631a0586d57b9d475f3ab62a753e47851 Mon Sep 17 00:00:00 2001 From: fpi Date: Sat, 24 Mar 2018 17:01:01 +0100 Subject: Correct function name to follow convention --- ob-spice.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ob-spice.el b/ob-spice.el index 6de169a..738a58e 100644 --- a/ob-spice.el +++ b/ob-spice.el @@ -29,7 +29,7 @@ (require 'ob) ;; (lambda (text) (setq body (concat text "\n" body))) -(defun ob-spice-vector-search (body vars) +(defun org-babel-spice-vector-search (body vars) "Replace first instance in BODY for all VARS." (mapc (lambda (pair) (if (string-match (format @@ -60,7 +60,7 @@ ;; preceding or succeeding spaces. (while (not (string= old-body body)) (setq old-body body) - (setq body (ob-spice-vector-search body vars)) + (setq body (org-babel-spice-vector-search body vars)) ) ;; replace any variable names preceded by '$' with the actual ;; value of the variable. Matches only with succeeding space or -- cgit v1.2.3