# HG changeset patch # User Oleksandr Gavenko # Date 1473597064 -10800 # Node ID e099be0ee68022b32027b882601764dc58a5db9a # Parent c78504ea530fc411fcdb2717736361bd8e945ac5 Fix: Warning: reference to free variable `python-indent'. diff -r c78504ea530f -r e099be0ee680 .emacs-my --- a/.emacs-my Sun Sep 11 15:26:25 2016 +0300 +++ b/.emacs-my Sun Sep 11 15:31:04 2016 +0300 @@ -2785,7 +2785,10 @@ ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; (message "python, python-mode") -(setq python-indent 4) +(eval-when 'compile + (require 'python)) + +(setq python-indent-offset 4) (defvar my-python/eldoc-setup-code "def __PYDOC_get_full_help(obj):