summaryrefslogtreecommitdiffstats
path: root/emacs
diff options
context:
space:
mode:
authorGravatar Tom Willemse2015-11-09 14:04:13 +0100
committerGravatar Tom Willemse2015-11-09 14:04:13 +0100
commitb06bc7628c3a4099b280187cb76e8f107b89733a (patch)
tree30fe5ab5e5711c24242587a768e2a36a437a572c /emacs
parentacb703bfc0b041993679cf1845f5ba18485176d7 (diff)
downloaddotfiles-b06bc7628c3a4099b280187cb76e8f107b89733a.tar.gz
dotfiles-b06bc7628c3a4099b280187cb76e8f107b89733a.zip
Replace some more characters in HTML
Diffstat (limited to 'emacs')
-rw-r--r--emacs/.emacs.d/init.el5
1 files changed, 4 insertions, 1 deletions
diff --git a/emacs/.emacs.d/init.el b/emacs/.emacs.d/init.el
index 8b68969..79538b0 100644
--- a/emacs/.emacs.d/init.el
+++ b/emacs/.emacs.d/init.el
@@ -507,7 +507,10 @@ use. If MODE is not nil, open a new buffer with the name
(defun oni:replace-html-special-chars ()
"Replace special characters with HTML escaped entities."
- (oni:replace-occurrences "é" "é"))
+ (oni:replace-occurrences "é" "é")
+ (oni:replace-occurrences "’" "’")
+ (oni:replace-occurrences "‘" "‘")
+ (oni:replace-occurrences "ë" "ë"))
(defun oni:replace-occurrences (from to)
"Replace all occurrences of FROM with TO in the current buffer."