summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorfpi2018-03-24 17:01:01 +0100
committerfpi2018-03-24 17:01:01 +0100
commit550659b631a0586d57b9d475f3ab62a753e47851 (patch)
tree8c9b68c97d2e236182a7ac0e88d071708b962b7f
parentInital commit (diff)
Correct function name to follow convention
-rw-r--r--ob-spice.el4
1 files 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