changeset 730 | 995821d2a5cf |
parent 729 | 9c5cb48451ad |
child 731 | 5b6105640c0e |
--- a/.emacs-my Sat Oct 15 23:14:28 2011 +0300 +++ b/.emacs-my Sat Oct 15 23:15:40 2011 +0300 @@ -1613,7 +1613,9 @@ (setq python-indent 4) -(add-hook 'python-mode-hook 'turn-on-eldoc-mode) +(when (>= emacs-major-version 22) + (add-hook 'python-mode-hook 'turn-on-eldoc-mode) + ) (when (equal window-system 'w32) (add-to-list 'process-coding-system-alist '("python" cp1251-unix . cp1251-unix))