emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

master 3988411 1/2: Give 'syntax-propertize-wholelines' a docstring.


From: Philipp Stephani
Subject: master 3988411 1/2: Give 'syntax-propertize-wholelines' a docstring.
Date: Sun, 30 May 2021 16:43:10 -0400 (EDT)

branch: master
commit 3988411f6c6a1170bca0831874233ff4b739009c
Author: Philipp Stephani <phst@google.com>
Commit: Philipp Stephani <phst@google.com>

    Give 'syntax-propertize-wholelines' a docstring.
    
    This function is generally useful.
    
    * lisp/emacs-lisp/syntax.el (syntax-propertize-wholelines): Add
    docstring.
---
 lisp/emacs-lisp/syntax.el | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/lisp/emacs-lisp/syntax.el b/lisp/emacs-lisp/syntax.el
index 6d5b04b..0bb1b89 100644
--- a/lisp/emacs-lisp/syntax.el
+++ b/lisp/emacs-lisp/syntax.el
@@ -125,6 +125,10 @@ otherwise nil.  That construct can be a two character 
comment
 delimiter or an Escaped or Char-quoted character."))
 
 (defun syntax-propertize-wholelines (start end)
+  "Extend the region delimited by START and END to whole lines.
+This function is useful for
+`syntax-propertize-extend-region-functions';
+see Info node `(elisp) Syntax Properties'."
   (goto-char start)
   (cons (line-beginning-position)
         (progn (goto-char end)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]