changeset 67357:ad09fcb8cef5

(edebug-skip-whitespace): read1:lread.c says that comments end at \n, regardless of selective-display.
author Stefan Monnier <monnier@iro.umontreal.ca>
date Tue, 06 Dec 2005 22:10:07 +0000
parents 568e3be4fb8c
children 9fa16adb2f52
files lisp/ChangeLog lisp/emacs-lisp/edebug.el
diffstat 2 files changed, 8 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- 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  <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)
--- 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")))