I just uploaded from bazaar and checking all the new great things, and I think I encountered a very small bug:

(defun py-toggle-smart-operator (&optional arg)
  "If `py-smart-operator-mode-p' should be on or off.

Returns value of `py-smart-operator-mode-p' switched to. "
  (interactive)
  (let ((arg (or arg (if py-smart-operator-mode-p -1 1))))
    (if (< 0 arg)
        (progn
          (setq py-smart-operator-mode-p t)
          (py-smart-operator-mode 1))
      (setq py-smart-operator-mode-p nil)
      (py-smart-operator-mode -1))
(when (interactive-p) (message "py-smart-operator-mode: %s" py-smart-operator-mode-p))
    py-smart-operator-mode-p))


Because py-smart-operator-mode is not defined anywhere.. is that right?
thanks for the great work!
_______________________________________________
Python-mode mailing list
Python-mode@python.org
http://mail.python.org/mailman/listinfo/python-mode

Reply via email to