branch: elpa/lua-mode
commit d7855bce4afd00ad27b8d68b964a872d07c10673
Author: wenjun.yan <[email protected]>
Commit: wenjun.yan <[email protected]>

    remove 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)))

Reply via email to