branch: elpa/magit
commit 99a92a108620d9d9ac5c30a71d60ea4072c1c425
Author: Jonas Bernoulli <[email protected]>
Commit: Jonas Bernoulli <[email protected]>

    magit--add-face-text-property: Clarify and fix docstring
---
 lisp/magit-section.el | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/lisp/magit-section.el b/lisp/magit-section.el
index 28b937d1d22..4142b321e87 100644
--- a/lisp/magit-section.el
+++ b/lisp/magit-section.el
@@ -2384,8 +2384,8 @@ Configuration'."
 (defun magit--add-face-text-property ( beg end face
                                        &optional append object adopt-face)
   "Like `add-face-text-property' but for `font-lock-face'.
-If optional ADOPT-FACE, the replace `face' with `font-lock-face'
-first.  This is a hack, which is likely to be remove again."
+If optional ADOPT-FACE, then replace `face' with `font-lock-face'
+first.  The latter is a hack, which is likely to be removed again."
   (when (stringp object)
     (unless beg (setq beg 0))
     (unless end (setq end (length object))))

Reply via email to