summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaciej Barć <xgqt@gentoo.org>2023-05-08 19:04:54 +0200
committerMaciej Barć <xgqt@gentoo.org>2023-05-08 19:05:32 +0200
commit55a98b2761c959f9d82fddc0577db12067f915f9 (patch)
tree155e55967333233786e26b81fbddebdf8942ce60 /app-emacs/eglot
parentprofiles: Mask net-im/mcabber for removal (diff)
downloadgentoo-55a98b2761c959f9d82fddc0577db12067f915f9.tar.gz
gentoo-55a98b2761c959f9d82fddc0577db12067f915f9.tar.bz2
gentoo-55a98b2761c959f9d82fddc0577db12067f915f9.zip
app-emacs/eglot: fix loading autoloads
Closes: https://bugs.gentoo.org/905958 Signed-off-by: Maciej Barć <xgqt@gentoo.org>
Diffstat (limited to 'app-emacs/eglot')
-rw-r--r--app-emacs/eglot/eglot-1.15-r1.ebuild (renamed from app-emacs/eglot/eglot-1.15.ebuild)2
-rw-r--r--app-emacs/eglot/files/50eglot-gentoo-r1.el2
2 files changed, 3 insertions, 1 deletions
diff --git a/app-emacs/eglot/eglot-1.15.ebuild b/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)