# HG changeset patch # User Oleksandr Gavenko # Date 1325630036 -7200 # Node ID 05db92f1e97dd2a105f615f5fce09f00933ec206 # Parent 7757d0840a78ceceac3dc7397d462f917b911a23 Fix "Symbol's value as variable is void: py-version". diff -r 7757d0840a78 -r 05db92f1e97d .emacs-my --- a/.emacs-my Tue Jan 03 18:46:17 2012 +0200 +++ b/.emacs-my Wed Jan 04 00:33:56 2012 +0200 @@ -1948,7 +1948,7 @@ (setq python-indent 4) (eval-after-load 'python-mode - (when (equal py-version "5.1.0") + (when (and (boundp 'py-version) (equal py-version "5.1.0")) (setq-default py-which-shell py-python-command) ;; (py-toggle-shells 'cpython) ))