]> gitweb.michael.orlitzky.com - emacs.d.git/blob - fix-nonstandard-chars.el
e5c3464476659ea7a98c3757b567fde8603c6a0c
[emacs.d.git] / fix-nonstandard-chars.el
1 (defun fix-nonstandard-chars
2 "Replace some typical nonstandard characters that result from
3 copy-and-pasting word processor text into XHTML documents."
4
5 (replace-string "’" "'")
6 (replace-string "“" "“")
7 (replace-string "”" "”")
8 (replace-string "–" "-")
9 )