From 6f5bd30f0b0fdb8c5261831f72aa2b17a3a7c2e0 Mon Sep 17 00:00:00 2001 From: Nicolas Goaziou Date: Sun, 21 Dec 2014 22:34:03 +0100 Subject: [PATCH] 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. --- lisp/org-entities.el | 6 ------ 1 file changed, 6 deletions(-) diff --git a/lisp/org-entities.el b/lisp/org-entities.el index d9f8db7ad..b0755cc41 100644 --- a/lisp/org-entities.el +++ b/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 "&\\([^<;]+;\\)" nil t) - (replace-match (concat "&" (match-string 1)) t t))) - (provide 'org-entities) ;; Local variables: