]> gitweb.michael.orlitzky.com - emacs.d.git/blob - fix-nonstandard-chars.el
Added a new function, fix-nonstandard-chars.
[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 )