branch: externals/cm-mode
commit 73692000b338fe87d6306d06873cfe207f7ac057
Author: Joost Kremers <[email protected]>
Commit: Joost Kremers <[email protected]>

    Fix doc string of cm-point-at-delim.
---
 cm-mode.el | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/cm-mode.el b/cm-mode.el
index 09da907502..98463d6ba7 100644
--- a/cm-mode.el
+++ b/cm-mode.el
@@ -515,10 +515,11 @@ the comment is added after it."
         (cm-move-into-markup 'cm-comment)))))
 
 (defun cm-point-at-delim (delim &optional end strict)
-  "Return non-NIL if point is at a delimiter.
-If DELIM is an end delimiter, optional argument END must be T.
+  "Return non-NIL if point is at delimiter DELIM.
+DELIM should be one of the strings in `cm-delimiters'.  If DELIM
+is an end delimiter, optional argument END must be t.
 
-Point counts as being at delim if it is in a delimiter or
+Point counts as being at DELIM if it is in a delimiter or
 directly outside, but not when it is directly inside.  So `|{++',
 `{|++', `{+|+', return 0, 1, and 2 respectively, while `{++|'
 returns NIL.  Similarly, `++}|', `++|}', `+|+}' return 0, 1, and

Reply via email to