diff options
| author | Richard M. Stallman | 1995-03-08 02:22:45 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 1995-03-08 02:22:45 +0000 |
| commit | 8de214e60dd57fd6270dfc1d7c0c3ccd21e711cf (patch) | |
| tree | e24baa9bc76211865c6c2f3fec10c2b9c56e41bb | |
| parent | b2ca5e69c83ead36896758558adc4a11f360347f (diff) | |
| download | emacs-8de214e60dd57fd6270dfc1d7c0c3ccd21e711cf.tar.gz 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.
| -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." | |||
| 464 | (memq (char-syntax (char-after (- (point) 2))) | 464 | (memq (char-syntax (char-after (- (point) 2))) |
| 465 | '(?w ?_)))) | 465 | '(?w ?_)))) |
| 466 | (if (eq (preceding-char) ?\,) | 466 | (if (eq (preceding-char) ?\,) |
| 467 | (perl-backward-to-start-of-continued-exp containing-sexp)) | 467 | (perl-backward-to-start-of-continued-exp containing-sexp) |
| 468 | (beginning-of-line) | 468 | (beginning-of-line)) |
| 469 | (perl-backward-to-noncomment)) | 469 | (perl-backward-to-noncomment)) |
| 470 | ;; Now we get the answer. | 470 | ;; Now we get the answer. |
| 471 | (if (not (memq (preceding-char) '(?\; ?\} ?\{))) | 471 | (if (not (memq (preceding-char) '(?\; ?\} ?\{))) |