changeset 74133:2942fb5a1900

(f90-comment-indent): Do not move point in default case.
author Glenn Morris <rgm@gnu.org>
date Thu, 23 Nov 2006 07:26:52 +0000
parents 07ca11e5f910
children a81576ee49cc
files lisp/progmodes/f90.el
diffstat 1 files changed, 3 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/progmodes/f90.el	Thu Nov 23 07:26:23 2006 +0000
+++ b/lisp/progmodes/f90.el	Thu Nov 23 07:26:52 2006 +0000
@@ -1007,8 +1007,9 @@
 		(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.