summaryrefslogtreecommitdiff
path: root/lisp/programming/elisp.el
blob: 0b975eb668c91eb906afc646a9278f3e693f71bf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
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