Gentoo Archives: gentoo-commits

From: "Maciej Barć" <xgqt@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/company-ebuild:master commit in: /
Date: Tue, 16 Aug 2022 20:31:53
Message-Id: 1660681892.6089a42b8903932a06cb3150eaaad7cae59b4a73.xgqt@gentoo
1 commit: 6089a42b8903932a06cb3150eaaad7cae59b4a73
2 Author: Maciej Barć <xgqt <AT> gentoo <DOT> org>
3 AuthorDate: Tue Aug 16 20:31:32 2022 +0000
4 Commit: Maciej Barć <xgqt <AT> gentoo <DOT> org>
5 CommitDate: Tue Aug 16 20:31:32 2022 +0000
6 URL: https://gitweb.gentoo.org/proj/company-ebuild.git/commit/?id=6089a42b
7
8 company-ebuild.el: extend company-ebuild-setup commentary
9
10 Signed-off-by: Maciej Barć <xgqt <AT> gentoo.org>
11
12 company-ebuild.el | 8 +++++++-
13 1 file changed, 7 insertions(+), 1 deletion(-)
14
15 diff --git a/company-ebuild.el b/company-ebuild.el
16 index 022a058..3f4cceb 100644
17 --- a/company-ebuild.el
18 +++ b/company-ebuild.el
19 @@ -245,7 +245,13 @@ ARG is the completion argument for annotation and candidates."
20
21 ;;;###autoload
22 (defun company-ebuild-setup ()
23 - "Setup for Company-Ebuild."
24 + "Setup for Company-Ebuild.
25 +
26 +To setup the integration correctly, add this function to ‘ebuild-mode-hook’
27 +in your config:
28 +\(add-hook 'ebuild-mode-hook 'company-ebuild-setup)
29 +or `require' Company-Ebuild:
30 +\(require 'company-ebuild)"
31 ;; Force-enable `company-mode'.
32 (when (null company-mode)
33 (company-mode +1))