;;; radian-patch.el --- Patching functions in other packages

(require 'radian-package)

;; Occasionally you need to customize a small part of a large function
;; defined by another package. This library provides an elegant,
;; clear, and robust way of doing so. See the README [1].
;;
;; [1]: https://github.com/raxod502/el-patch
(use-package el-patch
  :straight (:host github
                   :repo "raxod502/el-patch"
                   :branch "develop")
  :config

  ;; When patching variable definitions, override the original values.
  (setq el-patch-use-aggressive-defvar t)

  ;; Support for deferred installation in `el-patch-validate-all'.

  (defun radian-require-with-deferred-install (feature &rest args)
    "Require FEATURE, installing PACKAGE if necessary.

\(fn FEATURE &optional PACKAGE)"
    (let ((package feature))
      (when args
        (setq package (car args)))
      (when package
        (use-package-install-deferred-package package :el-patch))
      (require feature)))

  (setq el-patch-require-function #'radian-require-with-deferred-install))

(provide 'radian-patch)

;;; radian-patch.el ends here

;;; radian-patch.el --- Patching functions in other packages

(require 'radian-package)

;; Occasionally you need to customize a small part of a large function
;; defined by another package. This library provides an elegant,
;; clear, and robust way of doing so. See the README [1].
;;
;; [1]: https://github.com/raxod502/el-patch
(use-package el-patch
  :straight (:host github
                   :repo "raxod502/el-patch"
                   :branch "develop")
  :config

  ;; When patching variable definitions, override the original values.
  (setq el-patch-use-aggressive-defvar t))

(provide 'radian-patch)

;;; radian-patch.el ends here

Remove el-patch deferred installation support
Remove el-patch deferred installation support

raxod502/radian,raxod502/radian