From 3abc2d9abc55b129f64bbb93b17ed7b9150cedd7 Mon Sep 17 00:00:00 2001 From: Carsten Dominik Date: Wed, 11 Nov 2009 13:24:05 +0100 Subject: [PATCH] Fix bug in org-protocol (wrong parameter name in defsubst) --- lisp/org-protocol.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lisp/org-protocol.el b/lisp/org-protocol.el index 27c6d9fc1..a07b3266c 100644 --- a/lisp/org-protocol.el +++ b/lisp/org-protocol.el @@ -286,10 +286,10 @@ decode each split part." (if (>= emacs-major-version 23) (defsubst org-protocol-char-to-string(c) "Defsubst to decode UTF-8 character values in emacs 23 and beyond." - (char-to-string sum)) + (char-to-string c)) (defsubst org-protocol-char-to-string (c) "Defsubst to decode UTF-8 character values in emacs 22." - (string (decode-char 'ucs sum))))) + (string (decode-char 'ucs c))))) (defun org-protocol-unhex-string(str) "Unhex hexified unicode strings as returned from the JavaScript function