Stop loading pymacs everytime a python file is loaded.

This commit is contained in:
Ivan Malison 2013-03-26 10:15:38 -07:00
parent d28ffff7a7
commit fc562db128

20
init.el
View File

@ -86,17 +86,15 @@
;; Multi-lining for python. ;; Multi-lining for python.
(require 'multi-line-it) (require 'multi-line-it)
;; Pymacs
(add-hook 'python-mode-hook (require 'pymacs)
(lambda () (autoload 'pymacs-apply "pymacs")
(require 'pymacs) (autoload 'pymacs-call "pymacs")
(autoload 'pymacs-apply "pymacs") (autoload 'pymacs-eval "pymacs" nil t)
(autoload 'pymacs-call "pymacs") (autoload 'pymacs-exec "pymacs" nil t)
(autoload 'pymacs-eval "pymacs" nil t) (autoload 'pymacs-load "pymacs" nil t)
(autoload 'pymacs-exec "pymacs" nil t) (autoload 'pymacs-autoload "pymacs")
(autoload 'pymacs-load "pymacs" nil t) (pymacs-load "ropemacs" "rope-")
(autoload 'pymacs-autoload "pymacs")
(pymacs-load "ropemacs" "rope-")))
(defun python-tabs () (defun python-tabs ()
(setq tab-width 4 (setq tab-width 4