Move lang files
Some checks are pending
/ Test config on ${{matrix.node}} (20) (push) Waiting to run

This commit is contained in:
Maciej 2024-07-27 10:52:59 +03:00
parent bf90b046b8
commit 1f20dd7bc1
Signed by: maciej
GPG key ID: 41D62D42D3B0D765
27 changed files with 81 additions and 82 deletions

View file

@ -1,33 +0,0 @@
;;; languages/elisp -- summary -*- lexical-binding: t; -*-
;;; Commentary:
;;; Code:
(require 'icejam-prog-mode)
(transient-define-prefix +custom-lang-elisp/transient-context-menu ()
"Elisp Buffer Commands."
[""
["Buffer"
("r" "Reload" revert-buffer-no-confirm)
("i" "Indent" mark-and-indent-whole-buffer)
("e" "Show Errors" flycheck-list-errors)]]
[""
("q" "Quit" keyboard-quit)])
(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)
(define-key emacs-lisp-mode-map
(kbd "C-c l") '+custom-lang-elisp/transient-context-menu)
;; 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 '+custom-lang-elisp)
;;; elisp.el ends here