X-Git-Url: http://gitweb.michael.orlitzky.com/?a=blobdiff_plain;f=fix-nonstandard-chars.el;h=52f42df6c2b8d565eb80d191604ef8932648bc2b;hb=75b76032baa809cde05b5b54ea6611a15b1b840a;hp=e5c3464476659ea7a98c3757b567fde8603c6a0c;hpb=c8ef0ff3bd4f0b1ddaaadf9770d64db7fe28159a;p=emacs.d.git diff --git a/fix-nonstandard-chars.el b/fix-nonstandard-chars.el index e5c3464..52f42df 100644 --- a/fix-nonstandard-chars.el +++ b/fix-nonstandard-chars.el @@ -1,9 +1,12 @@ -(defun fix-nonstandard-chars +(defun fix-nonstandard-chars (context) "Replace some typical nonstandard characters that result from copy-and-pasting word processor text into XHTML documents." + (interactive "P") + (replace-string "’" "'") (replace-string "“" "“") (replace-string "”" "”") (replace-string "–" "-") + (replace-string "—" "—") )