branch: externals/tex-parens
commit 6f9aabb967150238998d46fb31c0743fe6330dd1
Author: Paul Nelson <[email protected]>
Commit: Paul Nelson <[email protected]>
update docstring of tp--math-face-p
---
tex-parens.el | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/tex-parens.el b/tex-parens.el
index 63ccbe5019..f88d283d04 100644
--- a/tex-parens.el
+++ b/tex-parens.el
@@ -232,8 +232,9 @@ defun-based commands."
:type 'integer
:group 'tex-parens)
-(defun tp--math-face-p ()
- "Check if point is in a math face."
+(defun tp--math-face ()
+ "Returns the number of math face modifiers at point.
+0 means no math face."
(let ((face (plist-get (text-properties-at (point))
'face)))
(cond