From: Philipp Stephani Date: Sun, 30 May 2021 20:38:48 +0000 (+0200) Subject: Give 'syntax-propertize-wholelines' a docstring. X-Git-Tag: emacs-28.0.90~2258 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=3988411f6c6a1170bca0831874233ff4b739009c;p=emacs.git Give 'syntax-propertize-wholelines' a docstring. This function is generally useful. * lisp/emacs-lisp/syntax.el (syntax-propertize-wholelines): Add docstring. --- diff --git a/lisp/emacs-lisp/syntax.el b/lisp/emacs-lisp/syntax.el index 6d5b04b83bb..0bb1b8916b1 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)