diff --git a/lisp/ob-gnuplot.el b/lisp/ob-gnuplot.el index 5dfc423ba..dc5cd0e52 100644 --- a/lisp/ob-gnuplot.el +++ b/lisp/ob-gnuplot.el @@ -187,7 +187,7 @@ code." ;; value of the variable (mapc (lambda (pair) (setq body (replace-regexp-in-string - (format "\\$%s" (car pair)) (cdr pair) body))) + (format "\\$%s" (car pair)) (cdr pair) body t t))) vars) (when prologue (funcall add-to-body prologue)) (when epilogue (setq body (concat body "\n" epilogue)))