aboutsummaryrefslogtreecommitdiffstats
path: root/lisp
diff options
context:
space:
mode:
authorGlenn Morris <[email protected]>2006-11-23 07:26:52 +0000
committerGlenn Morris <[email protected]>2006-11-23 07:26:52 +0000
commitb464e0eeda92ec3da71ea58c95f32d7228bfd79f (patch)
treeb5701ff5c61fa0f8b2f3c6af6f058f05aa77aa83 /lisp
parenteb2fa81f4a455bb33d8bf21677e40c648c106c0b (diff)
(f90-comment-indent): Do not move point in default case.
Diffstat (limited to 'lisp')
-rw-r--r--lisp/progmodes/f90.el5
1 files changed, 3 insertions, 2 deletions
diff --git a/lisp/progmodes/f90.el b/lisp/progmodes/f90.el
index cdbc24cd39..6b0a44f44a 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.