(load-library "diff-buffer-against-file")
(global-set-key "\C-cd" 'diff-buffer-against-file)
+(load-library "fix-nonstandard-chars")
+
;; These next functions override the defaults provided by emacs. They
;; prevent warning messages related to file modification times,
--- /dev/null
+(defun fix-nonstandard-chars
+ "Replace some typical nonstandard characters that result from
+ copy-and-pasting word processor text into XHTML documents."
+
+ (replace-string "’" "'")
+ (replace-string "“" "“")
+ (replace-string "”" "”")
+ (replace-string "–" "-")
+)