]> code.delx.au - gnu-emacs/commitdiff
(edebug-skip-whitespace): read1:lread.c says
authorStefan Monnier <monnier@iro.umontreal.ca>
Tue, 6 Dec 2005 22:10:07 +0000 (22:10 +0000)
committerStefan Monnier <monnier@iro.umontreal.ca>
Tue, 6 Dec 2005 22:10:07 +0000 (22:10 +0000)
that comments end at \n, regardless of selective-display.

lisp/ChangeLog
lisp/emacs-lisp/edebug.el

index e0b9a01107bd40e111ae0e9e3bc720a2f952325f..9061ec433a440d0d12a8b26398659c155b3b0da8 100644 (file)
@@ -1,3 +1,8 @@
+2005-12-06  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       * 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  <nickrob@snap.net.nz>
 
        * 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)
index 765548083b5eb334e8ae134e69093ec59f51563c..01f1d76010931f17a5c69e80a32ba0c38d6daf23 100644 (file)
@@ -733,8 +733,7 @@ already is one.)"
   ;; 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")))