]> 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 ff3a878a8cade398b758eb7b249199d20ae8d8ff..a17ba3e844f1f25a481603b0e826ad08d7a8406c 100644 (file)
@@ -6,7 +6,6 @@
 ;;          Chris Chase <chase@att.com>
 ;; Maintainer: J.D. Smith <jdsmith@as.arizona.edu>
 ;; Version: 5.5
-;; Date: $Date: 2004/11/17 05:54:19 $
 ;; Keywords: languages
 
 ;; This file is part of GNU Emacs.
@@ -2572,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 ()