From 56de2cf7a623e9d9032bd9796aac0049b1d35f77 Mon Sep 17 00:00:00 2001 From: David Maus Date: Sun, 18 Sep 2011 16:40:01 +0200 Subject: [PATCH] Explicitely set coding system for unescaped string * test-org.el (test-org/org-link-unescape-ascii-extended-char): Explicitely set coding system for unescaped string. Needed for Emacs22 to pass these tests. The input string is extended ASCII which is covered by latin-1 coding system. --- testing/lisp/test-org.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/testing/lisp/test-org.el b/testing/lisp/test-org.el index 1c81fac49..00ccd8134 100644 --- a/testing/lisp/test-org.el +++ b/testing/lisp/test-org.el @@ -82,7 +82,7 @@ (should (string= "àâçèéêîôùû" - (org-link-unescape "%E0%E2%E7%E8%E9%EA%EE%F4%F9%FB")))) + (decode-coding-string (org-link-unescape "%E0%E2%E7%E8%E9%EA%EE%F4%F9%FB") 'latin-1)))) (ert-deftest test-org/org-link-escape-url-with-escaped-char () "Escape and unscape a URL that includes an escaped char. -- 2.11.4.GIT