Browse Source

Fix bug in org-protocol (wrong parameter name in defsubst)

Carsten Dominik 15 years ago
parent
commit
3abc2d9abc
1 changed files with 2 additions and 2 deletions
  1. 2 2
      lisp/org-protocol.el

+ 2 - 2
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