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:
parent
d362490d45
commit
39b8934236
1 changed files with 4 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue