diff options
| author | Philipp Stephani | 2021-05-30 22:38:48 +0200 |
|---|---|---|
| committer | Philipp Stephani | 2021-05-30 22:38:48 +0200 |
| commit | 3988411f6c6a1170bca0831874233ff4b739009c (patch) | |
| tree | 0a9d10bc2456be49a82f1e0bd47f5bca862be714 | |
| parent | a5b57fc6af7ec87c59d00a7631576f9f4bf99841 (diff) | |
| download | emacs-3988411f6c6a1170bca0831874233ff4b739009c.tar.gz emacs-3988411f6c6a1170bca0831874233ff4b739009c.zip | |
Give 'syntax-propertize-wholelines' a docstring.
This function is generally useful.
* lisp/emacs-lisp/syntax.el (syntax-propertize-wholelines): Add
docstring.
| -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 | |||
| 125 | delimiter or an Escaped or Char-quoted character.")) | 125 | delimiter or an Escaped or Char-quoted character.")) |
| 126 | 126 | ||
| 127 | (defun syntax-propertize-wholelines (start end) | 127 | (defun syntax-propertize-wholelines (start end) |
| 128 | "Extend the region delimited by START and END to whole lines. | ||
| 129 | This function is useful for | ||
| 130 | `syntax-propertize-extend-region-functions'; | ||
| 131 | see Info node `(elisp) Syntax Properties'." | ||
| 128 | (goto-char start) | 132 | (goto-char start) |
| 129 | (cons (line-beginning-position) | 133 | (cons (line-beginning-position) |
| 130 | (progn (goto-char end) | 134 | (progn (goto-char end) |