diff options
author | Glenn Morris <rgm@gnu.org> | 2006-11-23 07:26:52 +0000 |
---|---|---|
committer | Glenn Morris <rgm@gnu.org> | 2006-11-23 07:26:52 +0000 |
commit | b464e0eeda92ec3da71ea58c95f32d7228bfd79f (patch) | |
tree | b5701ff5c61fa0f8b2f3c6af6f058f05aa77aa83 /lisp/progmodes | |
parent | eb2fa81f4a455bb33d8bf21677e40c648c106c0b (diff) | |
download | emacs-b464e0eeda92ec3da71ea58c95f32d7228bfd79f.tar.gz |
(f90-comment-indent): Do not move point in default case.
Diffstat (limited to 'lisp/progmodes')
-rw-r--r-- | lisp/progmodes/f90.el | 5 |
1 files 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. |