From ace1b8b03aefb995e4478d1912e71609e5bd8a95 Mon Sep 17 00:00:00 2001 From: Tom Willemse Date: Wed, 30 Jan 2019 01:31:50 -0800 Subject: [PATCH] Move python config to emacs-config --- emacs/.emacs.d/init.el | 1 - emacs/.emacs.d/init/oni-python-init.el | 34 -------------------------- 2 files changed, 35 deletions(-) delete mode 100755 emacs/.emacs.d/init/oni-python-init.el diff --git a/emacs/.emacs.d/init.el b/emacs/.emacs.d/init.el index ef82f57..d4ac3a1 100644 --- a/emacs/.emacs.d/init.el +++ b/emacs/.emacs.d/init.el @@ -235,7 +235,6 @@ ORIG-FUN is the function being wrapped, ARGS are the arguments specified" (with-eval-after-load 'magit (load "oni-magit-init")) (with-eval-after-load 'org (load "oni-org-init")) (with-eval-after-load 'php-mode (load "oni-php-mode-init")) -(with-eval-after-load 'python-mode (load "oni-python-init")) (with-eval-after-load 'ruby-mode (load "oni-ruby-init")) (with-eval-after-load 'scheme (load "oni-scheme-init")) (with-eval-after-load 'sh-mode (load "oni-sh-mode-init")) diff --git a/emacs/.emacs.d/init/oni-python-init.el b/emacs/.emacs.d/init/oni-python-init.el deleted file mode 100755 index 37cd9b7..0000000 --- a/emacs/.emacs.d/init/oni-python-init.el +++ /dev/null @@ -1,34 +0,0 @@ -;;; oni-python-init.el --- Python mode configuration -*- lexical-binding: t; -*- - -;; Copyright (C) 2018 Tom Willemse - -;; Author: Tom Willemse -;; Keywords: local - -;; This program is free software; you can redistribute it and/or modify -;; it under the terms of the GNU General Public License as published by -;; the Free Software Foundation, either version 3 of the License, or -;; (at your option) any later version. - -;; This program is distributed in the hope that it will be useful, -;; but WITHOUT ANY WARRANTY; without even the implied warranty of -;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -;; GNU General Public License for more details. - -;; You should have received a copy of the GNU General Public License -;; along with this program. If not, see . - -;;; Commentary: - -;; My Python mode configuration. - -;;; Code: - -(add-hook 'python-mode-hook 'electric-pair-local-mode) -(add-hook 'python-mode-hook 'flycheck-mode) -(add-hook 'python-mode-hook 'fci-mode) -(add-hook 'python-mode-hook 'company-mode) -(add-hook 'python-mode-hook 'fic-mode) - -(provide 'oni-python-init) -;;; oni-python-init.el ends here