Stop loading pymacs everytime a python file is loaded.
This commit is contained in:
		
							
								
								
									
										6
									
								
								init.el
									
									
									
									
									
								
							
							
						
						
									
										6
									
								
								init.el
									
									
									
									
									
								
							| @@ -86,9 +86,7 @@ | |||||||
| ;; Multi-lining for python. | ;; Multi-lining for python. | ||||||
| (require 'multi-line-it) | (require 'multi-line-it) | ||||||
|  |  | ||||||
| ;; Pymacs |  | ||||||
| (add-hook 'python-mode-hook |  | ||||||
| 	  (lambda () |  | ||||||
| (require 'pymacs) | (require 'pymacs) | ||||||
| (autoload 'pymacs-apply "pymacs") | (autoload 'pymacs-apply "pymacs") | ||||||
| (autoload 'pymacs-call "pymacs") | (autoload 'pymacs-call "pymacs") | ||||||
| @@ -96,7 +94,7 @@ | |||||||
| (autoload 'pymacs-exec "pymacs" nil t) | (autoload 'pymacs-exec "pymacs" nil t) | ||||||
| (autoload 'pymacs-load "pymacs" nil t) | (autoload 'pymacs-load "pymacs" nil t) | ||||||
| (autoload 'pymacs-autoload "pymacs") | (autoload 'pymacs-autoload "pymacs") | ||||||
| 	    (pymacs-load "ropemacs" "rope-"))) | (pymacs-load "ropemacs" "rope-") | ||||||
|  |  | ||||||
| (defun python-tabs () | (defun python-tabs () | ||||||
|   (setq tab-width 4 |   (setq tab-width 4 | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user