Got rid of explicit loading of pymacs.
This commit is contained in:
parent
476d0bdd8c
commit
563240001d
13
init.el
13
init.el
@ -94,25 +94,12 @@
|
|||||||
;; Multi-lining for python.
|
;; Multi-lining for python.
|
||||||
(require 'multi-line-it)
|
(require 'multi-line-it)
|
||||||
|
|
||||||
|
|
||||||
(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 ()
|
(defun python-tabs ()
|
||||||
(setq tab-width 4
|
(setq tab-width 4
|
||||||
indent-tabs-mode t
|
indent-tabs-mode t
|
||||||
python-indent-offset 4
|
python-indent-offset 4
|
||||||
(subword-mode t)))
|
(subword-mode t)))
|
||||||
|
|
||||||
;; Yelp always uses tabs.
|
|
||||||
(add-hook 'python-mode-hook 'python-tabs)
|
|
||||||
|
|
||||||
;; =============================================================================
|
;; =============================================================================
|
||||||
;; Custom Key Bindings
|
;; Custom Key Bindings
|
||||||
;; =============================================================================
|
;; =============================================================================
|
||||||
|
Loading…
Reference in New Issue
Block a user