فهرست منبع

fixed bug in org-babel-balanced-split when run on Emacs22

 Thanks to Martyn Jago for the test case

* lisp/ob.el (org-babel-balanced-split): Explicit checking if list
  before calling member.
* testing/lisp/test-ob.el (test-ob/org-babel-balanced-split): Testing
  the new Emacs22-proof behavior.
Eric Schulte 13 سال پیش
والد
کامیت
2b2e853b1b
1فایلهای تغییر یافته به همراه0 افزوده شده و 10 حذف شده
  1. 0 10
      testing/lisp/test-ob.el

+ 0 - 10
testing/lisp/test-ob.el

@@ -618,16 +618,6 @@ on two lines
 		       (buffer-substring-no-properties
 			(point-min) (point-max)))))))
 
-(ert-deftest test-org-babel/inline-src-block-enclosed-within-parenthesis ()
-  (let ((test-line "{src_emacs-lisp[ :results verbatim ]{ \"x\"  }"))
-    (org-test-with-temp-text
-	(concat test-line "}")
-      (forward-char 1)
-      (org-ctrl-c-ctrl-c)
-      (should (string= (concat test-line " =\"x\"=}")
-		       (buffer-substring-no-properties
-			(point-min) (point-max)))))))
-
 (ert-deftest test-org-babel/inline-src_blk-preceded-by-letter ()
   "Test inline source block invalid where preceded by letter"