diff options
author | Richard M. Stallman <rms@gnu.org> | 1995-03-08 02:22:45 +0000 |
---|---|---|
committer | Richard M. Stallman <rms@gnu.org> | 1995-03-08 02:22:45 +0000 |
commit | 8de214e60dd57fd6270dfc1d7c0c3ccd21e711cf (patch) | |
tree | e24baa9bc76211865c6c2f3fec10c2b9c56e41bb /lisp | |
parent | b2ca5e69c83ead36896758558adc4a11f360347f (diff) | |
download | emacs-8de214e60dd57fd6270dfc1d7c0c3ccd21e711cf.tar.gz emacs-8de214e60dd57fd6270dfc1d7c0c3ccd21e711cf.tar.bz2 emacs-8de214e60dd57fd6270dfc1d7c0c3ccd21e711cf.zip |
(calculate-perl-indent): When backing up over continuations,
don't go to line beg;
perl-backward-to-start-of-continued-exp gives the right place.
Diffstat (limited to 'lisp')
-rw-r--r-- | lisp/progmodes/perl-mode.el | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lisp/progmodes/perl-mode.el b/lisp/progmodes/perl-mode.el index c0e0cbba09b..fd12d9c7b77 100644 --- a/lisp/progmodes/perl-mode.el +++ b/lisp/progmodes/perl-mode.el @@ -464,8 +464,8 @@ Returns (parse-state) if line starts inside a string." (memq (char-syntax (char-after (- (point) 2))) '(?w ?_)))) (if (eq (preceding-char) ?\,) - (perl-backward-to-start-of-continued-exp containing-sexp)) - (beginning-of-line) + (perl-backward-to-start-of-continued-exp containing-sexp) + (beginning-of-line)) (perl-backward-to-noncomment)) ;; Now we get the answer. (if (not (memq (preceding-char) '(?\; ?\} ?\{))) |