diff options
author | Eric Schulte <eric.schulte@gmx.com> | 2012-01-03 11:44:32 -0700 |
---|---|---|
committer | Eric Schulte <eric.schulte@gmx.com> | 2012-02-19 08:01:26 -0700 |
commit | 2b2e853b1b692b95abc9f319744fa4e76902d618 (patch) | |
tree | 0474a4d9cb58fee4913abd31813c2fa9c6ca2d29 | |
parent | 60176c84e5fe5dab9633339d6738312066ade289 (diff) | |
download | org-mode-2b2e853b1b692b95abc9f319744fa4e76902d618.tar.gz |
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.
-rw-r--r-- | testing/lisp/test-ob.el | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/testing/lisp/test-ob.el b/testing/lisp/test-ob.el index 988ef33..3c6b27d 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" |