]> git.eshelyaron.com Git - emacs.git/commitdiff
Check for && when skipping multiple commands on a line.
authorJ.D. Smith <jdsmith@as.arizona.edu>
Wed, 15 Dec 2004 19:06:11 +0000 (19:06 +0000)
committerJ.D. Smith <jdsmith@as.arizona.edu>
Wed, 15 Dec 2004 19:06:11 +0000 (19:06 +0000)
lisp/progmodes/idlwave.el

index 45694b57b99661a95ab549bdf5fc8fcaf487f4df..a17ba3e844f1f25a481603b0e826ad08d7a8406c 100644 (file)
@@ -2571,7 +2571,9 @@ If not in a statement just moves to end of line. Returns position."
   (let ((save-point (point)))
     (when (re-search-forward ".*&" lim t)
       (goto-char (match-end 0))
-      (if (idlwave-quoted) (goto-char save-point)))
+      (if (idlwave-quoted) 
+         (goto-char save-point)
+       (if (eq (char-after (- (point) 2)) ?&) (goto-char save-point))))
     (point)))
 
 (defun idlwave-skip-label-or-case ()