From: J.D. Smith Date: Wed, 15 Dec 2004 19:06:11 +0000 (+0000) Subject: Check for && when skipping multiple commands on a line. X-Git-Tag: ttn-vms-21-2-B4~3251 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=6b75c9afcc8373613a8af2408a08c990260ffe32;p=emacs.git Check for && when skipping multiple commands on a line. --- diff --git a/lisp/progmodes/idlwave.el b/lisp/progmodes/idlwave.el index 45694b57b99..a17ba3e844f 100644 --- a/lisp/progmodes/idlwave.el +++ b/lisp/progmodes/idlwave.el @@ -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 ()