.emacs-my
changeset 1129 3458d2911643
parent 1128 33ab3ce7f973
child 1132 72f74fe407b1
equal deleted inserted replaced
1128:33ab3ce7f973 1129:3458d2911643
  2535     (if (file-exists-p file)
  2535     (if (file-exists-p file)
  2536         (python-send-string (format "import os; os.chdir(\"%s\"); execfile(\"%s\")" path file))
  2536         (python-send-string (format "import os; os.chdir(\"%s\"); execfile(\"%s\")" path file))
  2537       (error (format "file '%s' does not exist" file))
  2537       (error (format "file '%s' does not exist" file))
  2538       )))
  2538       )))
  2539 
  2539 
  2540 (when (>= emacs-major-version 22)
  2540 ;; Disable in flavor of Semantic and perfomance reason.
  2541   (add-hook 'python-mode-hook 'turn-on-eldoc-mode)
  2541 ;; (when (>= emacs-major-version 22)
  2542   )
  2542 ;;   (add-hook 'python-mode-hook 'turn-on-eldoc-mode))
  2543 
  2543 
  2544 (when (equal window-system 'w32)
  2544 (when (equal window-system 'w32)
  2545   (add-to-list 'process-coding-system-alist '("python" cp1251-unix . cp1251-unix))
  2545   (add-to-list 'process-coding-system-alist '("python" cp1251-unix . cp1251-unix)))
  2546   )
       
  2547 
  2546 
  2548 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  2547 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  2549 (message "perl, cperl")
  2548 (message "perl, cperl")
  2550 
  2549 
  2551 ;; Use cperl instead perl mode.
  2550 ;; Use cperl instead perl mode.