1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-11-25 07:28:20 +00:00

(edebug-skip-whitespace): Only \n, not \r, ends a comment.

This commit is contained in:
Richard M. Stallman 1994-03-06 21:05:30 +00:00
parent 9125da08de
commit a1ed3ba654

View File

@ -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 ()