mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-01 12:17:25 -05:00
fix(lib): package! error from doom/bump-* commands
package! complains that "package! can only be used in packages.el files". Amend:4efaf6837b
Amend:f9201eb218
This commit is contained in:
@ -48,7 +48,10 @@
|
||||
(buffer-file-name
|
||||
(or buffer-file-name
|
||||
(bound-and-true-p org-src-source-file-name)))
|
||||
(package (eval (sexp-at-point) t)))
|
||||
(package
|
||||
(doom-context-with 'packages
|
||||
(doom-module-context-with (doom-module-from-path buffer-file-name)
|
||||
(eval (sexp-at-point) t)))))
|
||||
(list :beg beg
|
||||
:end end
|
||||
:package (car package)
|
||||
|
Reference in New Issue
Block a user