From 2b2e853b1b692b95abc9f319744fa4e76902d618 Mon Sep 17 00:00:00 2001 From: Eric Schulte Date: Tue, 3 Jan 2012 11:44:32 -0700 Subject: [PATCH] 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. --- testing/lisp/test-ob.el | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/testing/lisp/test-ob.el b/testing/lisp/test-ob.el index 988ef3358..3c6b27db8 100644 --- a/testing/lisp/test-ob.el +++ b/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"