summaryrefslogtreecommitdiff
path: root/lisp/progmodes/vhdl-mode.el
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2015-05-30 09:43:57 -0700
committerPaul Eggert <eggert@cs.ucla.edu>2015-05-30 09:44:38 -0700
commit85aa6ede9fe1b8165a99a4046dd8262ec93a02d5 (patch)
tree7e7ae0e1a64784a6dc81cd6face4cf5b405c585c /lisp/progmodes/vhdl-mode.el
parente553c503f4d71e60db1f382c8d9d2348e7b20887 (diff)
downloademacs-85aa6ede9fe1b8165a99a4046dd8262ec93a02d5.tar.gz
Use \r rather than ^M in string literals
This is less likely to cause problems on platforms that use CRLF (or CR!) termination for lines.
Diffstat (limited to 'lisp/progmodes/vhdl-mode.el')
-rw-r--r--lisp/progmodes/vhdl-mode.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/progmodes/vhdl-mode.el b/lisp/progmodes/vhdl-mode.el
index eb234944904..f85f4c4fada 100644
--- a/lisp/progmodes/vhdl-mode.el
+++ b/lisp/progmodes/vhdl-mode.el
@@ -8270,7 +8270,7 @@ case fixing to a region. Calls functions `vhdl-indent-buffer',
(setq end (save-excursion (goto-char end) (point-marker)))
(save-excursion ; remove DOS EOL characters in UNIX file
(goto-char beg)
- (while (search-forward " " nil t)
+ (while (search-forward "\r" nil t)
(replace-match "" nil t)))
(when (nth 0 vhdl-beautify-options) (vhdl-fixup-whitespace-region beg end t))
(when (nth 1 vhdl-beautify-options) (vhdl-fix-statement-region beg end))