Closes #372: removed trailing spaces in snippets

This commit is contained in:
Joao Tavora
2013-05-05 21:15:27 -04:00
parent 9df05fc413
commit 8bf75fe425
33 changed files with 40 additions and 40 deletions

View File

@@ -6,7 +6,7 @@
"Replace “<” to “&lt;” and other chars in HTML.
This works on the current region."
(interactive "r")
(save-restriction
(save-restriction
(narrow-to-region start end)
(goto-char (point-min))
(while (search-forward "&" nil t) (replace-match "&amp;" nil t))