summaryrefslogtreecommitdiff
path: root/lisp/programming/elisp.el
diff options
context:
space:
mode:
authorJakob L. Kreuze2020-06-01 16:53:50 -0400
committerJakob L. Kreuze2020-06-01 16:53:50 -0400
commit6c7f0b8ae2de30a808901b16b0d462fe833ea1b4 (patch)
tree2cc0a3e9022fc43c39e5b91f4e7832b5387636e9 /lisp/programming/elisp.el
parent4d4f759881e310818055c31f286158da9db60d1c (diff)
Break config into files.
Diffstat (limited to 'lisp/programming/elisp.el')
-rw-r--r--lisp/programming/elisp.el30
1 files changed, 30 insertions, 0 deletions
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 <zerodaysfordays@sdf.org>
+;;; 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))

© 2015 - 2026 Jakob L. Kreuze