From c3b7eca19310cd9075a659cb680f360487f7fff3 Mon Sep 17 00:00:00 2001 From: Eric Schulte Date: Sat, 27 Nov 2010 17:51:46 -0700 Subject: [PATCH] ob: fixed newly introduced empty result error * lisp/ob.el (org-babel-examplize-region): Remove old assertion which no longer applies to the result insertion code. --- lisp/ob.el | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/lisp/ob.el b/lisp/ob.el index 2feb1ae3d..603854c08 100644 --- a/lisp/ob.el +++ b/lisp/ob.el @@ -1549,9 +1549,7 @@ file's directory then expand relative links." (interactive "*r") (let ((size (count-lines beg end))) (save-excursion - (cond ((= size 0) - (error (concat "This should not be impossible:" - "a newline was appended to result if missing"))) + (cond ((= size 0)) ; do nothing for an empty result ((< size org-babel-min-lines-for-block-output) (goto-char beg) (dotimes (n size) -- 2.11.4.GIT