From b464e0eeda92ec3da71ea58c95f32d7228bfd79f Mon Sep 17 00:00:00 2001 From: Glenn Morris Date: Thu, 23 Nov 2006 07:26:52 +0000 Subject: [PATCH] (f90-comment-indent): Do not move point in default case. --- lisp/progmodes/f90.el | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/lisp/progmodes/f90.el b/lisp/progmodes/f90.el index cdbc24cd391..6b0a44f44ab 100644 --- a/lisp/progmodes/f90.el +++ b/lisp/progmodes/f90.el @@ -1007,8 +1007,9 @@ All others return `comment-column', leaving at least one space after code." (skip-chars-backward " \t") (bolp))) (f90-calculate-indent)) - (t (skip-chars-backward " \t") - (max (if (bolp) 0 (1+ (current-column))) comment-column)))) + (t (save-excursion + (skip-chars-backward " \t") + (max (if (bolp) 0 (1+ (current-column))) comment-column))))) (defsubst f90-present-statement-cont () "Return continuation properties of present statement.