[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] master b43c461 1/2: Fix typos in doc strings
From: |
Eli Zaretskii |
Subject: |
[Emacs-diffs] master b43c461 1/2: Fix typos in doc strings |
Date: |
Fri, 19 May 2017 07:36:58 -0400 (EDT) |
branch: master
commit b43c4616ccc9cbaf7bc1531d0e6a4a84227f339e
Author: Ruslan Bekenev <address@hidden>
Commit: Eli Zaretskii <address@hidden>
Fix typos in doc strings
* lisp/mail/rfc2231.el (rfc2231-encode-string):
* lisp/mail/rfc2047.el (rfc2047-encode-parameter):
* lisp/mail/rfc2045.el (rfc2045-encode-string): Fix typos in doc
strings. (Bug#26103)
---
lisp/mail/rfc2045.el | 2 +-
lisp/mail/rfc2047.el | 2 +-
lisp/mail/rfc2231.el | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/lisp/mail/rfc2045.el b/lisp/mail/rfc2045.el
index f600050..11a6151 100644
--- a/lisp/mail/rfc2045.el
+++ b/lisp/mail/rfc2045.el
@@ -28,7 +28,7 @@
(require 'ietf-drums)
(defun rfc2045-encode-string (param value)
- "Return and PARAM=VALUE string encoded according to RFC2045."
+ "Return a PARAM=VALUE string encoded according to RFC2045."
(if (or (string-match (concat "[" ietf-drums-no-ws-ctl-token "]") value)
(string-match (concat "[" ietf-drums-tspecials "]") value)
(string-match "[ \n\t]" value)
diff --git a/lisp/mail/rfc2047.el b/lisp/mail/rfc2047.el
index bcbdc17..d276e21 100644
--- a/lisp/mail/rfc2047.el
+++ b/lisp/mail/rfc2047.el
@@ -851,7 +851,7 @@ Point moves to the end of the region."
(buffer-string)))
(defun rfc2047-encode-parameter (param value)
- "Return and PARAM=VALUE string encoded in the RFC2047-like style.
+ "Return a PARAM=VALUE string encoded in the RFC2047-like style.
This is a substitution for the `rfc2231-encode-string' function, that
is the standard but many mailers don't support it."
(let ((rfc2047-encoding-type 'mime)
diff --git a/lisp/mail/rfc2231.el b/lisp/mail/rfc2231.el
index ba972c7..66f539f 100644
--- a/lisp/mail/rfc2231.el
+++ b/lisp/mail/rfc2231.el
@@ -234,7 +234,7 @@ These look like:
(decode-coding-string (buffer-string) coding-system)))))
(defun rfc2231-encode-string (param value)
- "Return and PARAM=VALUE string encoded according to RFC2231.
+ "Return a PARAM=VALUE string encoded according to RFC2231.
Use `mml-insert-parameter' or `mml-insert-parameter-string' to insert
the result of this function."
(let ((control (ietf-drums-token-to-list ietf-drums-no-ws-ctl-token))
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] master b43c461 1/2: Fix typos in doc strings,
Eli Zaretskii <=