1
0
mirror of https://git.savannah.gnu.org/git/emacs/org-mode.git synced 2024-11-30 08:08:26 +00:00

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

This commit is contained in:
Carsten Dominik 2009-11-11 13:24:05 +01:00
parent 43e24aa8ed
commit 3abc2d9abc

View File

@ -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