From f44190a45d0ca5a25241182a0fe670efda7424fa Mon Sep 17 00:00:00 2001 From: Laurens Miers Date: Sun, 15 Sep 2024 17:47:30 +0200 Subject: [PATCH] ELISP: add demos to describe-function It saves me some extra googling. --- config_new.org | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/config_new.org b/config_new.org index f6f9247..4747938 100644 --- a/config_new.org +++ b/config_new.org @@ -589,6 +589,18 @@ https://github.com/remyferre/comment-dwim-2 ) #+END_SRC +* Elisp + +** Add demos to describe-function + +#+BEGIN_SRC emacs-lisp +(use-package elisp-demos + :ensure t + :config + (advice-add 'describe-function-1 :after #'elisp-demos-advice-describe-function-1) + ) +#+END_SRC + * Custom ** Save symbol at point