summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Müller <ulm@gentoo.org>2024-08-19 19:54:55 +0200
committerUlrich Müller <ulm@gentoo.org>2024-08-19 19:54:55 +0200
commit356db86fda79bb9f9af1b4949b730023cffafc76 (patch)
tree4dd770d1b50d1e156535e1ea78e392d62f4c793d
parentAllow a prefix argument with ebuild-run-command-* (diff)
downloadebuild-mode-356db86fda79bb9f9af1b4949b730023cffafc76.tar.gz
ebuild-mode-356db86fda79bb9f9af1b4949b730023cffafc76.tar.bz2
ebuild-mode-356db86fda79bb9f9af1b4949b730023cffafc76.zip
Fixes for checkdoc
* ebuild-mode.el: * ebuild-mode-keywords.el: * gentoo-newsitem-mode.el: * glep-mode.el: * devbook-mode.el: Doc fixes. Signed-off-by: Ulrich Müller <ulm@gentoo.org>
-rw-r--r--ChangeLog6
-rw-r--r--devbook-mode.el2
-rw-r--r--ebuild-mode-keywords.el2
-rw-r--r--ebuild-mode.el10
-rw-r--r--gentoo-newsitem-mode.el2
-rw-r--r--glep-mode.el4
6 files changed, 16 insertions, 10 deletions
diff --git a/ChangeLog b/ChangeLog
index 7538ac7..357b83f 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,11 @@
2024-08-19 Ulrich Müller <ulm@gentoo.org>
+ * ebuild-mode.el:
+ * ebuild-mode-keywords.el:
+ * gentoo-newsitem-mode.el:
+ * glep-mode.el:
+ * devbook-mode.el: Doc fixes.
+
* ebuild-mode.el (ebuild-run-command-*): Run the "clean" command
when a prefix argument is given.
* ebuild-mode.texi (ebuild-mode): Document it.
diff --git a/devbook-mode.el b/devbook-mode.el
index dee4c24..80c28e8 100644
--- a/devbook-mode.el
+++ b/devbook-mode.el
@@ -4,7 +4,7 @@
;; Author: Ulrich Müller <ulm@gentoo.org>
;; Maintainer: <emacs@gentoo.org>
-;; Keywords: wp, languages
+;; Keywords: text, languages
;; This file is free software: you can redistribute it and/or modify
;; it under the terms of the GNU General Public License as published by
diff --git a/ebuild-mode-keywords.el b/ebuild-mode-keywords.el
index f7f5e9f..49d6507 100644
--- a/ebuild-mode-keywords.el
+++ b/ebuild-mode-keywords.el
@@ -1,4 +1,4 @@
-;;; ebuild-mode-keywords.el -*-lexical-binding:t-*-
+;;; ebuild-mode-keywords.el --- keywords for font-lock -*-lexical-binding:t-*-
;; Copyright 2006-2024 Gentoo Authors
diff --git a/ebuild-mode.el b/ebuild-mode.el
index bb9a93f..a921517 100644
--- a/ebuild-mode.el
+++ b/ebuild-mode.el
@@ -111,7 +111,7 @@ If nil, use two spaces."
(unless (fboundp 'ansi-color-compilation-filter)
'("NO_COLOR=1"))
"List of additional environment variables for subprocesses.
-Each element should be a string of the form NAME=VALUE. This will
+Each element should be a string of the form NAME=VALUE. This will
be prepended to `process-environment' when calling a subprocess."
:type '(repeat string)
:group 'ebuild)
@@ -495,7 +495,7 @@ With prefix argument CLEAN, run the \"clean\" command first"
(define-derived-mode ebuild-compilation-mode compilation-mode "Compilation"
"Like `compilation-mode' but with color support.
Translates ANSI SGR control sequences into text properties (if the
-Emacs version supports it). Variable `ansi-color-for-compilation-mode'
+Emacs version supports it). Variable `ansi-color-for-compilation-mode'
must be non-nil for this to have any effect."
(if (fboundp 'ansi-color-compilation-filter)
(add-hook 'compilation-filter-hook
@@ -760,7 +760,7 @@ optional second argument NOERROR is non-nil."
(replace-match kw-string t t nil 1)))))))
(defun ebuild-mode-modify-keywords (kw)
- "Set keywords. KW is an alist of architectures and leaders."
+ "Set keywords. KW is an alist of architectures and leaders."
(let ((keywords (ebuild-mode-get-keywords)))
(dolist (k kw)
(let* ((arch (car k))
@@ -806,7 +806,7 @@ architecture from `ebuild-mode-arch-list'."
(defun ebuild-mode-ekeyword-complete (s predicate mode)
"Completion function, to be used as second argument of `completing-read'.
Return common substring of all completions of S for given PREDICATE.
-MODE can be nil, t, or `lambda'. See documentation of `try-completion'
+MODE can be nil, t, or `lambda'. See documentation of `try-completion'
and `all-completions' for details."
(string-match "^\\(.*\\s-\\)?\\(.*\\)$" s)
(if (eq (car-safe mode) 'boundaries) ; GNU Emacs 23
@@ -834,7 +834,7 @@ and `all-completions' for details."
(if (stringp c2) (concat s1 c2) c2))))
(defun ebuild-mode-ekeyword (keywords)
- "Keyword manipulation. Accepts the same input format as ekeyword.
+ "Keyword manipulation. Accepts the same input format as ekeyword.
KEYWORDS is a whitespace separated string containing the keywords
that shall be manipulated."
(interactive
diff --git a/gentoo-newsitem-mode.el b/gentoo-newsitem-mode.el
index 8cece4b..07ab15b 100644
--- a/gentoo-newsitem-mode.el
+++ b/gentoo-newsitem-mode.el
@@ -4,7 +4,7 @@
;; Author: Ulrich Müller <ulm@gentoo.org>
;; Maintainer: <emacs@gentoo.org>
-;; Keywords: wp
+;; Keywords: text
;; This file is free software: you can redistribute it and/or modify
;; it under the terms of the GNU General Public License as published by
diff --git a/glep-mode.el b/glep-mode.el
index 672c20a..c80a9b4 100644
--- a/glep-mode.el
+++ b/glep-mode.el
@@ -4,7 +4,7 @@
;; Author: Ulrich Müller <ulm@gentoo.org>
;; Maintainer: <emacs@gentoo.org>
-;; Keywords: wp
+;; Keywords: text
;; This file is free software: you can redistribute it and/or modify
;; it under the terms of the GNU General Public License as published by
@@ -58,7 +58,7 @@
(defvar glep-mode-preamble-limit 2000
"Maximum length of GLEP preamble.
-For efficiency only. Unlimited if nil.")
+For efficiency only. Unlimited if nil.")
(defun glep-mode-update-last-modified ()
"Update the Last-Modified date."