Give 'syntax-propertize-wholelines' a docstring.
This function is generally useful. * lisp/emacs-lisp/syntax.el (syntax-propertize-wholelines): Add docstring.
This commit is contained in:
parent
a5b57fc6af
commit
3988411f6c
1 changed files with 4 additions and 0 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue