diff options
author | Philipp Stephani <phst@google.com> | 2021-05-30 22:38:48 +0200 |
---|---|---|
committer | Philipp Stephani <phst@google.com> | 2021-05-30 22:38:48 +0200 |
commit | 3988411f6c6a1170bca0831874233ff4b739009c (patch) | |
tree | 0a9d10bc2456be49a82f1e0bd47f5bca862be714 /lisp/emacs-lisp | |
parent | a5b57fc6af7ec87c59d00a7631576f9f4bf99841 (diff) | |
download | emacs-3988411f6c6a1170bca0831874233ff4b739009c.tar.gz emacs-3988411f6c6a1170bca0831874233ff4b739009c.tar.bz2 emacs-3988411f6c6a1170bca0831874233ff4b739009c.zip |
Give 'syntax-propertize-wholelines' a docstring.
This function is generally useful.
* lisp/emacs-lisp/syntax.el (syntax-propertize-wholelines): Add
docstring.
Diffstat (limited to 'lisp/emacs-lisp')
-rw-r--r-- | lisp/emacs-lisp/syntax.el | 4 |
1 files changed, 4 insertions, 0 deletions
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) |