antonj / Highlight-Indentation-for-Emacs

Minor modes to highlight indentation guides in emacs.
467 stars 56 forks source link

doesn't work with fgallina/python.el #2

Closed gabrielelanaro closed 11 years ago

gabrielelanaro commented 13 years ago

here is the error message:

call-interactively: Symbol's value as variable is void: py-indent-offset
semente commented 12 years ago

It should be python-indent-offset to work with fgallina's mode.

antonj commented 12 years ago

Could you try chaning python indent detection to:

(cond ((eq major-mode 'python-mode)
           (cond ((boundp 'python-indent)
                  python-indent)
                 ((boundp 'python-indent-offset)
                  python-indent-offset)
                 (t
                  py-indent-offset)))
          .... )