2007-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
+ * progmodes/python.el (python-mode): Skip comments when parsing.
+
* vc-arch.el (vc-with-current-file-buffer): New macro.
(vc-arch-file-source-p): Use it to avoid infloop.
;; . python-font-lock-syntactic-face-function)
))
(set (make-local-variable 'parse-sexp-lookup-properties) t)
+ (set (make-local-variable 'parse-sexp-ignore-comments) t)
(set (make-local-variable 'comment-start) "# ")
(set (make-local-variable 'indent-line-function) #'python-indent-line)
(set (make-local-variable 'indent-region-function) #'python-indent-region)