branch: elpa/lua-mode
commit 599569730db2033080800ccaaa2c549da28c77fd
Merge: 6d66aee d7855bc
Author: immerrr again <[email protected]>
Commit: immerrr again <[email protected]>
Merge pull request #81 from v2e4lisp/remove-lua-comment-p
remove unused function lua-comment-p
---
lua-mode.el | 4 ----
1 file changed, 4 deletions(-)
diff --git a/lua-mode.el b/lua-mode.el
index 66f07d2..0903a1e 100644
--- a/lua-mode.el
+++ b/lua-mode.el
@@ -757,10 +757,6 @@ This function replaces previous prefix-key binding with a
new one."
If point is not inside a comment, return nil."
(and parsing-state (nth 4 parsing-state) (nth 8 parsing-state)))
-(defun lua-comment-p (&optional pos)
- "Returns true if the point is in a comment."
- (save-excursion (elt (syntax-ppss pos) 4)))
-
(defun lua-comment-or-string-p (&optional pos)
"Returns true if the point is in a comment or string."
(save-excursion (let ((parse-result (syntax-ppss pos)))