From 8f90ac961c22099a615c03ed07576aaef820e06d Mon Sep 17 00:00:00 2001 From: Pierre Courtieu Date: Tue, 12 Feb 2019 15:33:53 +0100 Subject: Simpler fix for #411. --- coq/coq-indent.el | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/coq/coq-indent.el b/coq/coq-indent.el index 70191cb9..9ca75457 100644 --- a/coq/coq-indent.el +++ b/coq/coq-indent.el @@ -522,9 +522,8 @@ the (point-min) if there is no previous command." "Move to the start of command at point. The point is put exactly before first non comment letter of the command." (coq-find-current-start) - (when (or (forward-comment (point-max)) - (looking-at "\\S-")) - (point))) + (forward-comment (point-max)) + (point)) ;; (defun same-line (pt pt2) ;; (or (= (line-number-at-pos pt) (line-number-at-pos pt2)))) -- cgit v1.2.3