]> gitweb.michael.orlitzky.com - emacs.d.git/blobdiff - fix-nonstandard-chars.el
mode-hooks/python-mode-hooks.el: don't mangle docstrings please.
[emacs.d.git] / fix-nonstandard-chars.el
index 2ba368b83a81aecceb4d9ab569944567b1ca6300..e1ec2f563d8ddc7cd796c411c40a4f8dee56d7b3 100644 (file)
@@ -4,11 +4,17 @@
 
   (interactive "p")
 
-  (setq replacements '( ("’" "'")
-                       ("“" "“")
-                       ("”" "”")
-                       ("–" "-")
-                       ("—" "—") ))
+  (setq replacements
+    '( ("’" "'")
+       ("“" "“")
+       ("”" "”")
+       ("–" "-")
+       ("—" "—")
+       ("°" "°")
+       ("®" "®")
+       ("™" "™")
+     )
+  )
 
   (dolist (replacement replacements nil)
     ;; The mark gets all fucked up here. It's easiest to