Replace vestigial references to def-package!
def-package! is deprecated and is replaced with use-package! to reduce confusion about its purpose and connection to use-package.
This commit is contained in:
parent
016f6c1b8b
commit
31ccd9be78
4 changed files with 4 additions and 4 deletions
|
@ -544,7 +544,7 @@ If prefix arg is present, refresh the cache."
|
|||
|
||||
;;;###autoload
|
||||
(defun doom/help-package-config (package)
|
||||
"Jump to any `def-package!', `after!' or ;;;###package block for PACKAGE.
|
||||
"Jump to any `use-package!', `after!' or ;;;###package block for PACKAGE.
|
||||
|
||||
This only searches `doom-emacs-dir' (typically ~/.emacs.d) and does not include
|
||||
config blocks in your private config."
|
||||
|
|
|
@ -208,7 +208,7 @@ Accepts the following properties:
|
|||
Takes a MELPA-style recipe (see `quelpa-recipe' in `quelpa' for an example);
|
||||
for packages to be installed from external sources.
|
||||
:disable BOOL
|
||||
Do not install or update this package AND disable all of its `def-package!'
|
||||
Do not install or update this package AND disable all of its `use-package!'
|
||||
blocks.
|
||||
:ignore FORM
|
||||
Do not install this package.
|
||||
|
|
|
@ -135,7 +135,7 @@ if it's callable, `apropos' otherwise."
|
|||
`(("Section" "^[ \t]*;;;;*[ \t]+\\([^\n]+\\)" 1)
|
||||
("Evil commands" "^\\s-*(evil-define-\\(?:command\\|operator\\|motion\\) +\\(\\_<[^ ()\n]+\\_>\\)" 1)
|
||||
("Unit tests" "^\\s-*(\\(?:ert-deftest\\|describe\\) +\"\\([^\")]+\\)\"" 1)
|
||||
("Package" "^\\s-*(\\(?:;;;###package\\|def-package!\\|package!\\|use-package\\|after!\\) +\\(\\_<[^ ()\n]+\\_>\\)" 1)
|
||||
("Package" "^\\s-*(\\(?:;;;###package\\|package!\\|use-package!?\\|after!\\) +\\(\\_<[^ ()\n]+\\_>\\)" 1)
|
||||
("Major modes" "^\\s-*(define-derived-mode +\\([^ ()\n]+\\)" 1)
|
||||
("Minor modes" "^\\s-*(define-\\(?:global\\(?:ized\\)?-minor\\|generic\\|minor\\)-mode +\\([^ ()\n]+\\)" 1)
|
||||
("Modelines" "^\\s-*(def-modeline! +\\([^ ()\n]+\\)" 1)
|
||||
|
|
|
@ -21,7 +21,7 @@
|
|||
;;
|
||||
;; Hacks should be kept in alphabetical order, named after the feature they
|
||||
;; modify, and should follow a ;;;## package-name header line (if not using
|
||||
;; `after!' or `def-package!').
|
||||
;; `after!' or `use-package!').
|
||||
|
||||
;;
|
||||
;;; Core functions
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue