[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] emacs-25 0a14d84 04/64: Clarify some doc strings
From: |
Lars Ingebrigtsen |
Subject: |
[Emacs-diffs] emacs-25 0a14d84 04/64: Clarify some doc strings |
Date: |
Sun, 01 May 2016 18:18:39 +0000 |
branch: emacs-25
commit 0a14d84150e7728ff1461d3f25b1b5bdc6e0cf08
Author: Lars Ingebrigtsen <address@hidden>
Commit: Lars Ingebrigtsen <address@hidden>
Clarify some doc strings
* lisp/emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
Clarify doc string (bug#8693).
(syntax-propertize): Clarify doc string.
(cherry picked from commit ad3ef417f3c40f086de9c547d6272e5685595e42)
---
lisp/emacs-lisp/syntax.el | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
diff --git a/lisp/emacs-lisp/syntax.el b/lisp/emacs-lisp/syntax.el
index e20a210..33f6441 100644
--- a/lisp/emacs-lisp/syntax.el
+++ b/lisp/emacs-lisp/syntax.el
@@ -272,9 +272,10 @@ Note: back-references in REGEXPs do not work."
(cond ,@(nreverse branches))))))
(defun syntax-propertize-via-font-lock (keywords)
- "Propertize for syntax in START..END using font-lock syntax.
+ "Propertize for syntax using font-lock syntax.
KEYWORDS obeys the format used in `font-lock-syntactic-keywords'.
-The return value is a function suitable for `syntax-propertize-function'."
+The return value is a function (with two paremeters, START and
+END) suitable for `syntax-propertize-function'."
(lambda (start end)
(with-no-warnings
(let ((font-lock-syntactic-keywords keywords))
@@ -283,7 +284,7 @@ The return value is a function suitable for
`syntax-propertize-function'."
(setq keywords font-lock-syntactic-keywords)))))
(defun syntax-propertize (pos)
- "Ensure that syntax-table properties are set until POS."
+ "Ensure that syntax-table properties are set until POS (a buffer point)."
(when (< syntax-propertize--done pos)
(if (null syntax-propertize-function)
(setq syntax-propertize--done (max (point-max) pos))
- [Emacs-diffs] emacs-25 updated (d8affa3 -> 8aa4147), Lars Ingebrigtsen, 2016/05/01
- [Emacs-diffs] emacs-25 3fc1ed8 02/64: Mention `lisp-indent-function' in the lispref manual, Lars Ingebrigtsen, 2016/05/01
- [Emacs-diffs] emacs-25 0a14d84 04/64: Clarify some doc strings,
Lars Ingebrigtsen <=
- [Emacs-diffs] emacs-25 cf33ae0 05/64: Clarify the `interactive' doc string slightly, Lars Ingebrigtsen, 2016/05/01
- [Emacs-diffs] emacs-25 de8349e 06/64: Doc string change to enable-recursive-minibuffers, Lars Ingebrigtsen, 2016/05/01
- [Emacs-diffs] emacs-25 9bd2af8 01/64: Clarify doc string of internal compilation function, Lars Ingebrigtsen, 2016/05/01
- [Emacs-diffs] emacs-25 4a2f33d 20/64: Doc fixes for menu-bar.el, Lars Ingebrigtsen, 2016/05/01
- [Emacs-diffs] emacs-25 7b85885 22/64: Doc fix, Lars Ingebrigtsen, 2016/05/01
- [Emacs-diffs] emacs-25 cc00738 09/64: find-lisp doc touchups, Lars Ingebrigtsen, 2016/05/01
- [Emacs-diffs] emacs-25 651182d 24/64: Doc fixed for next-error-buffer-p, Lars Ingebrigtsen, 2016/05/01
- [Emacs-diffs] emacs-25 351c079 03/64: Add some concept index entries for custom types, Lars Ingebrigtsen, 2016/05/01
- [Emacs-diffs] emacs-25 c355774 21/64: delsel doc touch ups, Lars Ingebrigtsen, 2016/05/01
- [Emacs-diffs] emacs-25 05194cb 26/64: Doc fix for font-lock-remove-keywords, Lars Ingebrigtsen, 2016/05/01