]> git.eshelyaron.com Git - emacs.git/commitdiff
(scheme-syntax-propertize-sexp-comment): Remove unused argument
authorniceume <toshi@niceume.com>
Sun, 24 Mar 2024 03:29:56 +0000 (12:29 +0900)
committerEshel Yaron <me@eshelyaron.com>
Tue, 2 Apr 2024 13:22:41 +0000 (15:22 +0200)
* lisp/progmodes/scheme.el (scheme-syntax-propertize-sexp-comment):
Remove first arg, unused.
(scheme-syntax-propertize): Adjust calls accordingly.

(cherry picked from commit c4e7eec8c096219ddc6b3a981eef03ce421b8877)

lisp/progmodes/scheme.el

index dc46f0fbbb8876c11de03c61aa5ff518d5ef95fc..8652abeb8174c93174f34066ae23f76a2de4cd0d 100644 (file)
@@ -409,12 +409,12 @@ See `run-hooks'."
 
 (defun scheme-syntax-propertize (beg end)
   (goto-char beg)
-  (scheme-syntax-propertize-sexp-comment (point) end)
+  (scheme-syntax-propertize-sexp-comment end)
   (scheme-syntax-propertize-regexp end)
   (funcall
    (syntax-propertize-rules
     ("\\(#\\);" (1 (prog1 "< cn"
-                     (scheme-syntax-propertize-sexp-comment (point) end))))
+                     (scheme-syntax-propertize-sexp-comment end))))
     ("\\(#\\)/" (1 (when (null (nth 8 (save-excursion
                                         (syntax-ppss (match-beginning 0)))))
                      (put-text-property
@@ -425,7 +425,7 @@ See `run-hooks'."
                      nil))))
    (point) end))
 
-(defun scheme-syntax-propertize-sexp-comment (end)
+(defun scheme-syntax-propertize-sexp-comment (end)
   (let ((state (syntax-ppss)))
     (when (eq 2 (nth 7 state))
       ;; It's a sexp-comment.  Tell parse-partial-sexp where it ends.