浏览代码

Fix small bug

* lisp/org.el (org-display-inline-images): Fix bug introduced in
  cab0d40593d75227aa47f80d3de7b9c3a74c3bb4.
Nicolas Goaziou 11 年之前
父节点
当前提交
e7397d3d97
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      lisp/org.el

+ 2 - 2
lisp/org.el

@@ -18852,8 +18852,8 @@ boundaries."
 				  (let ((e link))
 				    (while (and (setq e (org-element-property
 							 :parent e))
-						(eq (org-element-type e)
-						    'paragraph)))
+						(not (eq (org-element-type e)
+							 'paragraph))))
 				    e)))
 			     (when paragraph
 			       (save-excursion