.emacs-my
changeset 1722 c4feb289e3c2
parent 1719 89c448a9fdbd
child 1723 6533fa2834cf
equal deleted inserted replaced
1721:f9fb82deb6b7 1722:c4feb289e3c2
  3186 ;; Disable in flavor of Semantic and perfomance reason.
  3186 ;; Disable in flavor of Semantic and perfomance reason.
  3187 ;; (when (>= emacs-major-version 22)
  3187 ;; (when (>= emacs-major-version 22)
  3188 ;;   (add-hook 'python-mode-hook 'turn-on-eldoc-mode)
  3188 ;;   (add-hook 'python-mode-hook 'turn-on-eldoc-mode)
  3189 
  3189 
  3190 (defun my-python-mode-hook ()
  3190 (defun my-python-mode-hook ()
       
  3191   (setq completion-at-point-functions '(tags-completion-at-point-function python-completion-at-point))
  3191   (when (and (eq window-system 'w32) (fboundp 'prettify-symbols-mode))
  3192   (when (and (eq window-system 'w32) (fboundp 'prettify-symbols-mode))
  3192     (prettify-symbols-mode -1)))
  3193     (prettify-symbols-mode -1)))
  3193 (add-hook 'python-mode-hook 'my-python-mode-hook)
  3194 (add-hook 'python-mode-hook 'my-python-mode-hook)
  3194 
  3195 
  3195 ;; (when (equal window-system 'w32)
  3196 ;; (when (equal window-system 'w32)