From: Glenn Morris Date: Thu, 23 Nov 2006 07:26:52 +0000 (+0000) Subject: (f90-comment-indent): Do not move point in default case. X-Git-Tag: emacs-pretest-22.0.92~558 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=b464e0eeda92ec3da71ea58c95f32d7228bfd79f;p=emacs.git (f90-comment-indent): Do not move point in default case. --- 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.