Browse Source

Add percent sign to list of escape chars

* org.el (org-link-escape-chars-browser, org-link-escape-chars): Add
percent sign to list of escape chars.
David Maus 15 years ago
parent
commit
1350e57626
1 changed files with 2 additions and 2 deletions
  1. 2 2
      lisp/org.el

+ 2 - 2
lisp/org.el

@@ -8603,14 +8603,14 @@ according to FMT (default from `org-email-link-description-format')."
 	  "]"))
 	  "]"))
 
 
 (defconst org-link-escape-chars
 (defconst org-link-escape-chars
-  '(?\ ?\[ ?\] ?\; ?\= ?\+)
+  '(?\ ?\[ ?\] ?\; ?\= ?\+ ?\%)
   "List of characters that should be escaped in link.
   "List of characters that should be escaped in link.
 This is the list that is used for internal purposes.")
 This is the list that is used for internal purposes.")
 
 
 (defvar org-url-encoding-use-url-hexify nil)
 (defvar org-url-encoding-use-url-hexify nil)
 
 
 (defconst org-link-escape-chars-browser
 (defconst org-link-escape-chars-browser
-  '(?\ )
+  '(?\ ?\%)
   "List of escapes for characters that are problematic in links.
   "List of escapes for characters that are problematic in links.
 This is the list that is used before handing over to the browser.")
 This is the list that is used before handing over to the browser.")