]> gitweb.michael.orlitzky.com - emacs.d.git/blobdiff - fix-nonstandard-chars.el
mode-hooks: allow M-<backspace> to kill previous words in terminals.
[emacs.d.git] / 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