# HG changeset patch # User Stefan Monnier # Date 1133907007 0 # Node ID ad09fcb8cef50c53a391ac4ed7597d14ed84f2d9 # Parent 568e3be4fb8c48d0c8e068e053a947357ec0c027 (edebug-skip-whitespace): read1:lread.c says that comments end at \n, regardless of selective-display. diff -r 568e3be4fb8c -r ad09fcb8cef5 lisp/ChangeLog --- a/lisp/ChangeLog Tue Dec 06 21:42:54 2005 +0000 +++ b/lisp/ChangeLog Tue Dec 06 22:10:07 2005 +0000 @@ -1,3 +1,8 @@ +2005-12-06 Stefan Monnier + + * emacs-lisp/edebug.el (edebug-skip-whitespace): read1:lread.c says + that comments end at \n, regardless of selective-display. + 2005-12-07 Nick Roberts * progmodes/gdb-ui.el (gdb-error-regexp, gdb-first-post-prompt) @@ -23,8 +28,8 @@ (gdb-data-list-register-values-handler) (gdb-data-list-register-values-custom) (gdb-get-changed-registers, gdb-get-changed-registers-handler) - (gdb-stack-list-locals-handler, gdb-get-register-names): New - functions for use with GDB 6.4+. + (gdb-stack-list-locals-handler, gdb-get-register-names): + New functions for use with GDB 6.4+. (gdb-locals-watch-map-1): New variable for use with GDB 6.4+. (gdb-source-file-regexp, gdb-var-list-children-regexp-1) (gdb-var-update-regexp-1, gdb-data-list-register-values-regexp) diff -r 568e3be4fb8c -r ad09fcb8cef5 lisp/emacs-lisp/edebug.el --- a/lisp/emacs-lisp/edebug.el Tue Dec 06 21:42:54 2005 +0000 +++ b/lisp/emacs-lisp/edebug.el Tue Dec 06 22:10:07 2005 +0000 @@ -733,8 +733,7 @@ ;; Leave point before the next token, skipping white space and comments. (skip-chars-forward " \t\r\n\f") (while (= (following-char) ?\;) - ;; \r is counted as a comment terminator to support selective display. - (skip-chars-forward "^\n\r") ; skip the comment + (skip-chars-forward "^\n") ; skip the comment (skip-chars-forward " \t\r\n\f")))