Fix 'readme' button doom/help-packages

The button was trying to open `path/to/README.org/README.org`.
This commit is contained in:
Yuri Pieters 2021-01-28 21:09:36 +00:00
parent 2d718cc86f
commit a5f39d75a5

View file

@ -576,9 +576,7 @@ If prefix arg is present, refresh the cache."
(if (file-exists-p readme-path) (if (file-exists-p readme-path)
(doom--help-insert-button (doom--help-insert-button
"readme" "readme"
(expand-file-name readme-path)
"README.org"
readme-path))
(insert "no readme")) (insert "no readme"))
(insert ")\n")))) (insert ")\n"))))