From 6c7f0b8ae2de30a808901b16b0d462fe833ea1b4 Mon Sep 17 00:00:00 2001 From: Jakob L. Kreuze Date: Mon, 1 Jun 2020 16:53:50 -0400 Subject: Break config into files. --- lisp/programming/elisp.el | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 lisp/programming/elisp.el (limited to 'lisp/programming/elisp.el') diff --git a/lisp/programming/elisp.el b/lisp/programming/elisp.el new file mode 100644 index 0000000..0b975eb --- /dev/null +++ b/lisp/programming/elisp.el @@ -0,0 +1,30 @@ +;;; elisp.el -*- lexical-binding: t; -*- +;;; +;;; Author: Jakob L. Kreuze +;;; URL: https://git.sr.ht/~jakob/.emacs.d/ +;;; +;;; Configuration of a development environment for the Emacs Lisp programming +;;; language. +;;; + +(use-package elisp-mode + :straight nil + ;; Enable company for both `lisp-interaction-mode' and `emacs-lisp-mode'. + :hook + (lisp-interaction-mode . company-mode) + (emacs-lisp-mode . company-mode) + + ;; Avoid omitting information when displaying deeply-nested lists. + :init + (setq eval-expression-print-level nil)) + +;; Helpful is a wonderful improvement upon the vanilla `describe-.*' functions, +;; capable of showing source code, keybindings, symbol properties, etc. + +(use-package helpful + :bind + ("C-h f" . helpful-callable) + ("C-h v" . helpful-variable) + ("C-h k" . helpful-key) + ("C-h C" . helpful-command) + ("C-c C-d" . helpful-at-point)) -- cgit v1.3