]> code.delx.au - gnu-emacs/blobdiff - lisp/progmodes/idlwave.el
(cperl-find-bad-style): Use with-no-warnings.
[gnu-emacs] / 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 ()