summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>1994-03-06 21:05:30 +0000
committerRichard M. Stallman <rms@gnu.org>1994-03-06 21:05:30 +0000
commita1ed3ba6544b7d109c4f9bec00be0e3013880c0b (patch)
treec1f6fa922bb9bad98c1b18cc213f48b820036c99 /lisp/emacs-lisp
parent9125da08de041b85d03a24c78be43e29eee9b128 (diff)
downloademacs-a1ed3ba6544b7d109c4f9bec00be0e3013880c0b.tar.gz
emacs-a1ed3ba6544b7d109c4f9bec00be0e3013880c0b.tar.bz2
emacs-a1ed3ba6544b7d109c4f9bec00be0e3013880c0b.zip
(edebug-skip-whitespace): Only \n, not \r, ends a comment.
Diffstat (limited to 'lisp/emacs-lisp')
-rw-r--r--lisp/emacs-lisp/edebug.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/emacs-lisp/edebug.el b/lisp/emacs-lisp/edebug.el
index 69bb96e4c90..bdb172f0722 100644
--- a/lisp/emacs-lisp/edebug.el
+++ b/lisp/emacs-lisp/edebug.el
@@ -1074,7 +1074,7 @@ Leave point after the value, if there is one."
"Leave point before the next token, skipping white space and comments."
(skip-chars-forward " \t\r\n\f")
(while (= (following-char) ?\;)
- (skip-chars-forward "^\n\r") ; skip the comment
+ (skip-chars-forward "^\n") ; skip the comment
(skip-chars-forward " \t\r\n\f")))
(defun edebug-read-sexp ()