summaryrefslogtreecommitdiff
path: root/lisp/programming/elisp.el
diff options
context:
space:
mode:
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