瀏覽代碼

OK, now I really think that we're done inserting superfluous interests with results

Eric Schulte 16 年之前
父節點
當前提交
367072d11b
共有 1 個文件被更改,包括 3 次插入4 次删除
  1. 3 4
      lisp/org-babel.el

+ 3 - 4
lisp/org-babel.el

@@ -556,10 +556,9 @@ relies on `org-babel-insert-result'."
       (let ((case-fold-search nil))
 	(if (looking-at "#\\+begin_example")
 	    (search-forward "#+end_example" nil t)
-	  (while (if (looking-at "\\(: \\|\\[\\[\\)")
-                     (progn (while (looking-at "\\(: \\|\\[\\[\\)")
-                              (forward-line 1)) t))
-            (forward-line 1))))
+	  (progn (while (looking-at "\\(: \\|\\[\\[\\)")
+                   (forward-line 1))
+                 (forward-line 1))))
       (point))))
 
 (defun org-babel-result-to-file (result)