diff options
author | Eric Schulte <schulte.eric@gmail.com> | 2010-11-27 17:51:46 -0700 |
---|---|---|
committer | Eric Schulte <schulte.eric@gmail.com> | 2010-11-27 17:51:46 -0700 |
commit | c3b7eca19310cd9075a659cb680f360487f7fff3 (patch) | |
tree | 069c9dfaac4b99c11d9fbd267b7e1bb1d7caee7e | |
parent | 994e1648e2f99bf408c5ca0739bd6dcd0764f7cb (diff) | |
download | org-mode-c3b7eca19310cd9075a659cb680f360487f7fff3.tar.gz |
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.
-rw-r--r-- | lisp/ob.el | 4 |
1 files changed, 1 insertions, 3 deletions
@@ -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) |