use poper emacs namespace, move keys to dedicated minor mode

This commit is contained in:
Maciej 2021-03-06 10:52:54 +02:00
parent 7f5f90ae4d
commit 76c7d665c7
Signed by: maciej
GPG key ID: 41D62D42D3B0D765
38 changed files with 337 additions and 221 deletions

20
lang/elisp.el Normal file
View file

@ -0,0 +1,20 @@
;;; languages/elisp -- summary
;;; Commentary:
;;; Code:
(require 'icejam-pkg-prog-mode "$HOME/.emacs.d/pkg/prog-mode.el")
(defun activate-emacs-lisp-mode ()
"Goodies for editing Emacs files."
(set-indent 2) ;; Default indentation of 2 characters
(column-enforce-n 80)
(setq-default indent-tabs-mode nil)
;; Company list override
(add-to-list (make-local-variable 'company-backends)
'(company-yasnippet company-elisp)))
(add-hook 'emacs-lisp-mode-hook 'activate-emacs-lisp-mode)
(provide 'icejam-lang-elisp)
;;; elisp.el ends here