Skip to content

Commit

Permalink
tweak(emacs-lisp): make elisp-demos obsolete
Browse files Browse the repository at this point in the history
  • Loading branch information
abougouffa committed Apr 11, 2024
1 parent ee6866c commit dcd02af
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 11 deletions.
11 changes: 0 additions & 11 deletions modules/me-emacs-lisp.el
Original file line number Diff line number Diff line change
Expand Up @@ -49,17 +49,6 @@
(+map-local! :keymaps '(emacs-lisp-mode-map lisp-mode-map)
"m" '(macrostep-expand :wk "Expand macro")))

(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))

(use-package helpful
:straight t
:init
Expand Down
26 changes: 26 additions & 0 deletions modules/obsolete/me-elisp-demos.el
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

0 comments on commit dcd02af

Please sign in to comment.