]> gitweb.michael.orlitzky.com - emacs.d.git/commitdiff
Add ® and ™ to fix-nonstandard-chars.el.
authorMichael Orlitzky <michael@orlitzky.com>
Thu, 26 Jan 2012 17:00:02 +0000 (12:00 -0500)
committerMichael Orlitzky <michael@orlitzky.com>
Thu, 26 Jan 2012 17:00:02 +0000 (12:00 -0500)
fix-nonstandard-chars.el

index 2f558cbde30b50ceae325ac5ae4dd12142f6e755..e1ec2f563d8ddc7cd796c411c40a4f8dee56d7b3 100644 (file)
@@ -4,12 +4,17 @@
 
   (interactive "p")
 
-  (setq replacements '( ("’" "'")
-                       ("“" "&ldquo;")
-                       ("”" "&rdquo;")
-                       ("–" "-")
-                       ("—" "&mdash;")
-                       ("°" "&deg;") ))
+  (setq replacements
+    '( ("’" "'")
+       ("“" "&ldquo;")
+       ("”" "&rdquo;")
+       ("–" "-")
+       ("—" "&mdash;")
+       ("°" "&deg;")
+       ("®" "&reg;")
+       ("™" "&trade;")
+     )
+  )
 
   (dolist (replacement replacements nil)
     ;; The mark gets all fucked up here. It's easiest to