equal
deleted
inserted
replaced
3103 (error (format "file '%s' does not exist" file)) |
3103 (error (format "file '%s' does not exist" file)) |
3104 ))) |
3104 ))) |
3105 |
3105 |
3106 ;; Disable in flavor of Semantic and perfomance reason. |
3106 ;; Disable in flavor of Semantic and perfomance reason. |
3107 ;; (when (>= emacs-major-version 22) |
3107 ;; (when (>= emacs-major-version 22) |
3108 ;; (add-hook 'python-mode-hook 'turn-on-eldoc-mode)) |
3108 ;; (add-hook 'python-mode-hook 'turn-on-eldoc-mode) |
|
3109 |
|
3110 (defun my/python-mode-hook () |
|
3111 (when (and (eq window-system 'w32) (fboundp 'prettify-symbols-mode)) |
|
3112 (prettify-symbols-mode -1))) |
|
3113 (add-hook 'python-mode-hook 'my/python-mode-hook) |
3109 |
3114 |
3110 (when (equal window-system 'w32) |
3115 (when (equal window-system 'w32) |
3111 (add-to-list 'process-coding-system-alist '("python" cp1251-unix . cp1251-unix))) |
3116 (add-to-list 'process-coding-system-alist '("python" cp1251-unix . cp1251-unix))) |
3112 |
3117 |
3113 (add-to-list 'auto-mode-alist '("/requirements.txt\\'" . conf-mode)) |
3118 (add-to-list 'auto-mode-alist '("/requirements.txt\\'" . conf-mode)) |