-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
tweak(emacs-lisp): make
elisp-demos
obsolete
- Loading branch information
1 parent
ee6866c
commit dcd02af
Showing
2 changed files
with
26 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
;;; me-elisp-demos.el --- Add an Emacs Lisp demos section to the describe-function -*- lexical-binding: t; -*- | ||
|
||
;; Copyright (C) 2022-2024 Abdelhak Bougouffa | ||
|
||
;; Author: Abdelhak Bougouffa (rot13 "nobhtbhssn@srqbencebwrpg.bet") | ||
|
||
;;; Commentary: | ||
|
||
;;; Code: | ||
|
||
(use-package elisp-demos | ||
:straight t | ||
:after elisp-mode minemacs-loaded | ||
:demand t | ||
:init | ||
(+map! :infix "he" | ||
"d" #'elisp-demos-find-demo | ||
"D" #'elisp-demos-add-demo) | ||
(advice-add 'describe-function-1 :after #'elisp-demos-advice-describe-function-1) | ||
(advice-add 'helpful-update :after #'elisp-demos-advice-helpful-update)) | ||
|
||
|
||
(provide 'obsolete/me-elisp-demos) | ||
|
||
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; | ||
;;; me-elisp-demos.el ends here |