emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[nongnu] elpa/lua-mode d7855bc 285/468: remove function lua-comment-p


From: Philip Kaludercic
Subject: [nongnu] elpa/lua-mode d7855bc 285/468: remove function lua-comment-p
Date: Thu, 5 Aug 2021 04:58:54 -0400 (EDT)

branch: elpa/lua-mode
commit d7855bce4afd00ad27b8d68b964a872d07c10673
Author: wenjun.yan <mylastnameisyan@gmail.com>
Commit: wenjun.yan <mylastnameisyan@gmail.com>

    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

[Prev in Thread] Current Thread [Next in Thread]