1 |
commit: 0f5206c7ecb03ce261c57de3d600fdb025adabc8 |
2 |
Author: Ulrich Müller <ulm <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Feb 27 21:49:03 2017 +0000 |
4 |
Commit: Ulrich Müller <ulm <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Feb 27 21:49:03 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/emacs-tools.git/commit/?id=0f5206c7 |
7 |
|
8 |
Update documentation to be less Portage specific. |
9 |
|
10 |
* ebuild-mode.el: |
11 |
* ebuild-mode.texi: Update documentation to use generic terms |
12 |
where possible, instead of being Portage specific. |
13 |
|
14 |
ChangeLog | 6 ++++++ |
15 |
ebuild-mode.el | 10 +++++----- |
16 |
ebuild-mode.texi | 2 +- |
17 |
3 files changed, 12 insertions(+), 6 deletions(-) |
18 |
|
19 |
diff --git a/ChangeLog b/ChangeLog |
20 |
index 2f327d2..fe1ced8 100644 |
21 |
--- a/ChangeLog |
22 |
+++ b/ChangeLog |
23 |
@@ -1,3 +1,9 @@ |
24 |
+2017-02-27 Ulrich Müller <ulm@g.o> |
25 |
+ |
26 |
+ * ebuild-mode.el: |
27 |
+ * ebuild-mode.texi: Update documentation to use generic terms |
28 |
+ where possible, instead of being Portage specific. |
29 |
+ |
30 |
2017-02-26 Ulrich Müller <ulm@g.o> |
31 |
|
32 |
* Version 1.32 released. |
33 |
|
34 |
diff --git a/ebuild-mode.el b/ebuild-mode.el |
35 |
index e32b3d0..3f3e0fe 100644 |
36 |
--- a/ebuild-mode.el |
37 |
+++ b/ebuild-mode.el |
38 |
@@ -73,7 +73,7 @@ A formfeed is not considered whitespace by this function." |
39 |
|
40 |
(defvar ebuild-mode-portdir |
41 |
"/usr/portage" |
42 |
- "Location of the Portage tree.") |
43 |
+ "Location of the ebuild repository.") |
44 |
|
45 |
(defvar ebuild-mode-arch-list |
46 |
(or |
47 |
@@ -85,7 +85,7 @@ A formfeed is not considered whitespace by this function." |
48 |
(replace-match "")) |
49 |
(sort (split-string (buffer-string)) 'ebuild-mode-arch-lessp)) |
50 |
(file-error nil)) |
51 |
- ;; could not read architectures from Portage tree, so fall back to default |
52 |
+ ;; could not read architectures from repository, so fall back to default |
53 |
'("alpha" "amd64" "arm" "hppa" "ia64" "m68k" "mips" "ppc" "ppc64" |
54 |
"s390" "sh" "sparc" "x86" "amd64-fbsd" "sparc-fbsd" "x86-fbsd")) |
55 |
"List of architectures.") |
56 |
@@ -117,7 +117,7 @@ A formfeed is not considered whitespace by this function." |
57 |
(directory-files (concat ebuild-mode-portdir "/licenses") |
58 |
nil "\\`[^.]") |
59 |
(file-error nil)) |
60 |
- "List of licenses, determined from the Portage tree.") |
61 |
+ "List of licenses, determined from the ebuild repository.") |
62 |
|
63 |
(defvar ebuild-mode-eclasses |
64 |
(condition-case nil |
65 |
@@ -126,7 +126,7 @@ A formfeed is not considered whitespace by this function." |
66 |
(directory-files (concat ebuild-mode-portdir "/eclass") |
67 |
nil "\\.eclass\\'")) |
68 |
(file-error nil)) |
69 |
- "List of eclasses, determined from the Portage tree.") |
70 |
+ "List of eclasses, determined from the ebuild repository.") |
71 |
|
72 |
(defvar ebuild-mode-restrict-list |
73 |
'("binchecks" "bindist" "fetch" "installsources" "mirror" |
74 |
@@ -228,7 +228,7 @@ Optional argument LIMIT restarts collection after that number of elements." |
75 |
|
76 |
;;;###autoload |
77 |
(define-derived-mode ebuild-mode shell-script-mode "Ebuild" |
78 |
- "Major mode for Portage .ebuild and .eclass files." |
79 |
+ "Major mode for Gentoo .ebuild and .eclass files." |
80 |
(if (featurep 'xemacs) |
81 |
;; make-local-hook gives a byte-compiler warning in GNU Emacs |
82 |
(make-local-hook 'write-contents-hooks)) |
83 |
|
84 |
diff --git a/ebuild-mode.texi b/ebuild-mode.texi |
85 |
index 349a64b..1b616b2 100644 |
86 |
--- a/ebuild-mode.texi |
87 |
+++ b/ebuild-mode.texi |
88 |
@@ -74,7 +74,7 @@ As the ebuild format is based on the Bash syntax, sh-mode is called as |
89 |
a base, where ebuild specific things are added/changed on top. |
90 |
|
91 |
If font-locking is enabled, keywords are highlighted, both the standard |
92 |
-set available from vanilla Portage and special functions from all common |
93 |
+set defined by the package manager and special functions from all common |
94 |
eclasses. Missing highlighting should be reported on |
95 |
@code{https://bugs.gentoo.org/}. |