emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* [patch] fix 22.x compatibility test issue
@ 2011-09-11 20:25 Martyn Jago
  2011-09-11 20:45 ` Eric Schulte
  0 siblings, 1 reply; 2+ messages in thread
From: Martyn Jago @ 2011-09-11 20:25 UTC (permalink / raw)
  To: emacs-orgmode

[-- Attachment #1: Type: text/plain, Size: 125 bytes --]


Replace left-char with backward-char for backward compatibility in
=test-org-babel/org-babel-get-inline-src-block-matches=


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: Replace left-char with backward-char for backward compatibility --]
[-- Type: text/x-patch, Size: 1110 bytes --]

From 08bfac66d69ed6ce739d58710f06444b6f43fb94 Mon Sep 17 00:00:00 2001
From: Martyn Jago <martyn.jago@btinternet.com>
Date: Sun, 11 Sep 2011 21:17:40 +0100
Subject: [PATCH] Replace left-char with backward-char for backward compatibility
 * testing/lisp/test-ob.el (test-org-babel/org-babel-get-inline-src-block-matches):

---
 testing/lisp/test-ob.el |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/testing/lisp/test-ob.el b/testing/lisp/test-ob.el
index a78bf1e..3a68328 100644
--- a/testing/lisp/test-ob.el
+++ b/testing/lisp/test-ob.el
@@ -226,9 +226,9 @@
       (should (re-search-forward "echo" nil t)) ;; 2
       (should (org-babel-get-inline-src-block-matches))
       (should (re-search-forward "blocks" nil t)) ;; 3
-      (left-char 8) ;; 3
+      (backward-char 8) ;; 3
       (should (org-babel-get-inline-src-block-matches))
-      (right-char 1) ;;3
+      (forward-char 1) ;;3
       (should-not (org-babel-get-inline-src-block-matches))
       (should (re-search-forward ":results" nil t)) ;; 4
       (should (org-babel-get-inline-src-block-matches))
-- 
1.7.3.4


[-- Attachment #3: Type: text/plain, Size: 14 bytes --]


Best, Martyn

^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2011-09-11 21:03 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-09-11 20:25 [patch] fix 22.x compatibility test issue Martyn Jago
2011-09-11 20:45 ` Eric Schulte

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).