commit:     55a98b2761c959f9d82fddc0577db12067f915f9
Author:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
AuthorDate: Mon May  8 17:04:54 2023 +0000
Commit:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
CommitDate: Mon May  8 17:05:32 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=55a98b27

app-emacs/eglot: fix loading autoloads

Closes: https://bugs.gentoo.org/905958
Signed-off-by: Maciej Barć <xgqt <AT> gentoo.org>

 app-emacs/eglot/{eglot-1.15.ebuild => eglot-1.15-r1.ebuild} | 2 +-
 app-emacs/eglot/files/50eglot-gentoo-r1.el                  | 2 ++
 2 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/app-emacs/eglot/eglot-1.15.ebuild 
b/app-emacs/eglot/eglot-1.15-r1.ebuild
similarity index 96%
rename from app-emacs/eglot/eglot-1.15.ebuild
rename to app-emacs/eglot/eglot-1.15-r1.ebuild
index 9ffaace3d84d..f77a0922ed66 100644
--- a/app-emacs/eglot/eglot-1.15.ebuild
+++ b/app-emacs/eglot/eglot-1.15-r1.ebuild
@@ -30,7 +30,7 @@ RDEPEND="app-emacs/external-completion"
 BDEPEND="${RDEPEND}"
 
 DOCS=( README.md )
-SITEFILE="50${PN}-gentoo.el"
+SITEFILE="50${PN}-gentoo-r1.el"
 
 src_install() {
        elisp-make-autoload-file

diff --git a/app-emacs/eglot/files/50eglot-gentoo-r1.el 
b/app-emacs/eglot/files/50eglot-gentoo-r1.el
new file mode 100644
index 000000000000..b12b269242df
--- /dev/null
+++ b/app-emacs/eglot/files/50eglot-gentoo-r1.el
@@ -0,0 +1,2 @@
+(add-to-list 'load-path "@SITELISP@")
+(load "@SITELISP@/eglot-autoloads.el" nil t)

Reply via email to