From a1ca1f3bee182a9e1b98b30f5d6d6e6f3fcb0b8a Mon Sep 17 00:00:00 2001 From: Nicolas Goaziou Date: Wed, 10 Feb 2016 19:26:58 +0100 Subject: [PATCH] ob: Remove `org-babel-inline-lob-one-line-matches' * lisp/ob-core.el (org-babel-inline-lob-one-liner-matches): Remove now unused function. --- lisp/ob-core.el | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/lisp/ob-core.el b/lisp/ob-core.el index c4db64dd9..299c69bcc 100644 --- a/lisp/ob-core.el +++ b/lisp/ob-core.el @@ -223,18 +223,6 @@ list of the cdr of all the `:var' entries." (mapcar #'cdr (cl-remove-if-not (lambda (x) (eq (car x) :var)) params))) -(defvar org-babel-inline-lob-one-liner-regexp) -(defun org-babel-get-lob-one-liner-matches () - "Set match data if on line of an lob one liner. -Returns non-nil if match-data set" - (save-excursion - (let ((datum (org-element-context))) - (when (eq (org-element-type datum) 'inline-babel-call) - (goto-char (org-element-property :begin datum)))) - (if (looking-at org-babel-inline-lob-one-liner-regexp) - t - nil))) - (defun org-babel-get-src-block-info (&optional light datum) "Extract information from a source block or inline source block.