aboutsummaryrefslogtreecommitdiffstats
path: root/oni-elisp.el
diff options
context:
space:
mode:
authorGravatar Tom Willemse2019-08-25 13:37:25 -0700
committerGravatar Tom Willemse2019-08-25 13:37:25 -0700
commit75fe1b4c4f7ae42ae3863c9747e1cea8eb32ff43 (patch)
tree5fff30bc208348679d703861e08bb81d8ddb7b3f /oni-elisp.el
parent26dbc5eac3f866d9d50a9e1d39701dcd6745f3fd (diff)
downloademacs-config-75fe1b4c4f7ae42ae3863c9747e1cea8eb32ff43.tar.gz
emacs-config-75fe1b4c4f7ae42ae3863c9747e1cea8eb32ff43.zip
Add snippets to ‘oni-elisp’
Diffstat (limited to 'oni-elisp.el')
-rw-r--r--oni-elisp.el57
1 files changed, 0 insertions, 57 deletions
diff --git a/oni-elisp.el b/oni-elisp.el
deleted file mode 100644
index a5fc3e3..0000000
--- a/oni-elisp.el
+++ /dev/null
@@ -1,57 +0,0 @@
-;;; oni-elisp.el --- Emacs Lisp configuration -*- lexical-binding: t; -*-
-
-;; Copyright (C) 2019 Tom Willemse
-
-;; Author: Tom Willemse <tom@ryuslash.org>
-;; Keywords: local
-;; Version: 20190710075641
-;; Package-Requires: (oni-company oni-flycheck oni-paredit oni-fci rainbow-delimiters nameless erefactor)
-
-;; 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 configuration for working in Emacs Lisp.
-
-;;; Code:
-
-(let ((byte-compile-not-obsolete-funcs '(preceding-sexp)))
- (require 'erefactor))
-
-(require 'ielm)
-
-(add-hook 'emacs-lisp-mode-hook 'company-mode)
-(add-hook 'emacs-lisp-mode-hook 'electric-quote-local-mode)
-(add-hook 'emacs-lisp-mode-hook 'erefactor-lazy-highlight-turn-on)
-(add-hook 'emacs-lisp-mode-hook 'fci-mode)
-(add-hook 'emacs-lisp-mode-hook 'flycheck-mode)
-(add-hook 'emacs-lisp-mode-hook 'nameless-mode)
-(add-hook 'emacs-lisp-mode-hook 'paredit-mode)
-(add-hook 'emacs-lisp-mode-hook 'rainbow-delimiters-mode)
-
-(add-hook 'ielm-mode-hook 'company-mode)
-(add-hook 'ielm-mode-hook 'paredit-mode)
-
-(setq ielm-prompt "λ> ")
-
-(define-key emacs-lisp-mode-map (kbd "C-c r") erefactor-map)
-
-;;;###autoload
-(add-to-list 'auto-mode-alist '("/Cask\\'" . emacs-lisp-mode))
-
-;;;###autoload(with-eval-after-load 'elisp-mode (require 'oni-elisp))
-;;;###autoload(with-eval-after-load 'ielm (require 'oni-elisp))
-
-(provide 'oni-elisp)
-;;; oni-elisp.el ends here