Stop loading pymacs everytime a python file is loaded.
This commit is contained in:
parent
1c0e86f017
commit
0aece58291
20
init.el
20
init.el
@ -85,17 +85,15 @@
|
||||
;; Multi-lining for python.
|
||||
(require 'multi-line-it)
|
||||
|
||||
;; Pymacs
|
||||
(add-hook 'python-mode-hook
|
||||
(lambda ()
|
||||
(require 'pymacs)
|
||||
(autoload 'pymacs-apply "pymacs")
|
||||
(autoload 'pymacs-call "pymacs")
|
||||
(autoload 'pymacs-eval "pymacs" nil t)
|
||||
(autoload 'pymacs-exec "pymacs" nil t)
|
||||
(autoload 'pymacs-load "pymacs" nil t)
|
||||
(autoload 'pymacs-autoload "pymacs")
|
||||
(pymacs-load "ropemacs" "rope-")))
|
||||
|
||||
(require 'pymacs)
|
||||
(autoload 'pymacs-apply "pymacs")
|
||||
(autoload 'pymacs-call "pymacs")
|
||||
(autoload 'pymacs-eval "pymacs" nil t)
|
||||
(autoload 'pymacs-exec "pymacs" nil t)
|
||||
(autoload 'pymacs-load "pymacs" nil t)
|
||||
(autoload 'pymacs-autoload "pymacs")
|
||||
(pymacs-load "ropemacs" "rope-")
|
||||
|
||||
(defun python-tabs ()
|
||||
(setq tab-width 4
|
||||
|
Loading…
Reference in New Issue
Block a user