aboutsummaryrefslogtreecommitdiffstats
path: root/emacs/.emacs.d/init/oni-emacs-lisp-mode-init.el
diff options
context:
space:
mode:
authorGravatar Tom Willemse2018-07-09 18:52:19 -0700
committerGravatar Tom Willemse2018-07-09 18:52:19 -0700
commit8ad6f5f98ec5054dab2be882faba188fc9522967 (patch)
tree3d466444aa404c08faa043b412ebf348863f6a64 /emacs/.emacs.d/init/oni-emacs-lisp-mode-init.el
parentaccea011e3640de1f64568ef2c7595e405b5373e (diff)
downloadnew-dotfiles-8ad6f5f98ec5054dab2be882faba188fc9522967.tar.gz
new-dotfiles-8ad6f5f98ec5054dab2be882faba188fc9522967.zip
Move Elisp configuration out of Org-mode
Diffstat (limited to 'emacs/.emacs.d/init/oni-emacs-lisp-mode-init.el')
-rw-r--r--emacs/.emacs.d/init/oni-emacs-lisp-mode-init.el35
1 files changed, 35 insertions, 0 deletions
diff --git a/emacs/.emacs.d/init/oni-emacs-lisp-mode-init.el b/emacs/.emacs.d/init/oni-emacs-lisp-mode-init.el
new file mode 100644
index 0000000..07c50e5
--- /dev/null
+++ b/emacs/.emacs.d/init/oni-emacs-lisp-mode-init.el
@@ -0,0 +1,35 @@
+;;; oni-emacs-lisp-mode-init.el --- Emacs Lisp configuration -*- lexical-binding: t; -*-
+
+;; Copyright (C) 2018 Tom Willemse
+
+;; Author: Tom Willemse <tom@ryuslash.org>
+;; 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 <https://www.gnu.org/licenses/>.
+
+;;; Commentary:
+
+;; My Emacs Lisp configuration.
+
+;;; Code:
+
+(add-hook 'emacs-lisp-mode-hook 'paredit-mode)
+(add-hook 'emacs-lisp-mode-hook 'rainbow-delimiters-mode)
+(add-hook 'emacs-lisp-mode-hook 'company-mode)
+(add-hook 'emacs-lisp-mode-hook 'flycheck-mode)
+(add-hook 'emacs-lisp-mode-hook 'nameless-mode)
+(add-hook 'emacs-lisp-mode-hook 'fci-mode)
+
+(provide 'oni-emacs-lisp-mode-init)
+;;; oni-emacs-lisp-mode-init.el ends here