Explorar o código

org-entities: Remove `replace-amp'

* lisp/org-entities.el (replace-amp): Remove function.

The function is unused throughout the code base and is in the wrong
namespace.
Nicolas Goaziou %!s(int64=10) %!d(string=hai) anos
pai
achega
6f5bd30f0b
Modificáronse 1 ficheiros con 0 adicións e 6 borrados
  1. 0 6
      lisp/org-entities.el

+ 0 - 6
lisp/org-entities.el

@@ -627,12 +627,6 @@ Kind can be any of `latex', `html', `ascii', `latin1', or `utf8'."
   (select-window (get-buffer-window "*Org Entity Help*")))
 
 
-(defun replace-amp ()
-  "Postprocess HTML file to unescape the ampersand."
-  (interactive)
-  (while (re-search-forward "<td>&amp;\\([^<;]+;\\)" nil t)
-    (replace-match (concat "<td>&" (match-string 1)) t t)))
-
 (provide 'org-entities)
 
 ;; Local variables: