From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Maus Subject: [PATCH 04/16] Fixup doc string Date: Sun, 13 Feb 2011 13:01:06 +0100 Message-ID: <1297598478-9925-5-git-send-email-dmaus@ictsoc.de> References: <87d3mwvqwq.fsf@gnu.org> Return-path: Received: from [140.186.70.92] (port=43815 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PoaeG-0003jO-Bj for emacs-orgmode@gnu.org; Sun, 13 Feb 2011 07:01:53 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PoaeF-0006xZ-A4 for emacs-orgmode@gnu.org; Sun, 13 Feb 2011 07:01:52 -0500 Received: from mail.app1.xlhost.de ([213.202.242.114]:48898 helo=mysql1.xlhost.de) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PoaeF-0006x8-3E for emacs-orgmode@gnu.org; Sun, 13 Feb 2011 07:01:51 -0500 In-Reply-To: <87d3mwvqwq.fsf@gnu.org> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org, bastien.guerry@wikimedia.fr Cc: David Maus * org.el (org-link-escape): Fixup doc string. --- lisp/org.el | 5 ++++- 1 files changed, 4 insertions(+), 1 deletions(-) diff --git a/lisp/org.el b/lisp/org.el index 7d38907..cafb673 100644 --- a/lisp/org.el +++ b/lisp/org.el @@ -8555,7 +8555,10 @@ This is the list that is used for internal purposes.") This is the list that is used before handing over to the browser.") (defun org-link-escape (text &optional table) - "Escape characters in TEXT that are problematic for links." + "Return percent escaped representation of TEXT. +TEXT is a string with the text to escape. +Optional argument TABLE is a list with characters that should be +escaped. When nil, `org-link-escape-chars' is used." (if (and org-url-encoding-use-url-hexify (not table)) (url-hexify-string text) (setq table (or table org-link-escape-chars)) -- 1.7.2.3