From 74e2d46885ac9095acda8c67417b0b5583b226de Mon Sep 17 00:00:00 2001 From: Shohei YOSHIDA Date: Thu, 7 Jul 2022 12:11:27 +0900 Subject: [PATCH] Correct docstring position --- scala-mode-syntax.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scala-mode-syntax.el b/scala-mode-syntax.el index edab1ab..14730c1 100644 --- a/scala-mode-syntax.el +++ b/scala-mode-syntax.el @@ -647,12 +647,12 @@ symbol constituents (syntax 3)." ;;;; (defun scala-syntax:beginning-of-code-line () - (interactive) "Move to the beginning of code on the line, or to the end of the line, if the line is empty. Return the new point. Not to be called on a line whose start is inside a comment, i.e. a comment begins on the previous line and continues past the start of this line." + (interactive) ;; TODO: make it work even if the start IS inside a comment (beginning-of-line) (let ((eol (line-end-position))