Cleanup python use-package

This commit is contained in:
Ivan Malison 2016-08-18 14:42:42 -07:00
parent 1625673d09
commit b06548b8be
No known key found for this signature in database
GPG Key ID: 62530EFBE99DC2F8

View File

@ -1808,8 +1808,6 @@ modeline and with excessive http requests to github.
:mode ("\\.py\\'" . python-mode) :mode ("\\.py\\'" . python-mode)
:config :config
(progn (progn
(fset 'main "if __name__ == '__main__':")
(fset 'sphinx-class ":class:`~")
:init :init
(progn (progn
(unbind-key "C-j" python-mode-map) (unbind-key "C-j" python-mode-map)
@ -1828,7 +1826,7 @@ modeline and with excessive http requests to github.
(setq show-trailing-whitespace t) (setq show-trailing-whitespace t)
(if use-python-tabs (python-tabs)) (if use-python-tabs (python-tabs))
(subword-mode t) (subword-mode t)
(imalison:make-imenu-index-flat) ;; TODO: This was likely fixed and can probably be removed
;; Somehow this is sometimes set to jedi:ac-setup which we ;; Somehow this is sometimes set to jedi:ac-setup which we
;; don't want. This binding avoids starting auto-complete mode. ;; don't want. This binding avoids starting auto-complete mode.
(let ((jedi:setup-function nil)) (let ((jedi:setup-function nil))