summaryrefslogtreecommitdiff
path: root/lisp/progmodes/perl-mode.el
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>1997-04-08 01:18:14 +0000
committerRichard M. Stallman <rms@gnu.org>1997-04-08 01:18:14 +0000
commitcfdd048a092f890d74bf11dd31022dddcc89d4ec (patch)
tree4307c3160e16ae3fc5646bd0c86432c67136f958 /lisp/progmodes/perl-mode.el
parent215c0106c6f2b582b25d9d8255e0f70cc3497514 (diff)
downloademacs-cfdd048a092f890d74bf11dd31022dddcc89d4ec.tar.gz
(calculate-perl-indent): When indenting under a
containing openparen, skip spaces after the openparen.
Diffstat (limited to 'lisp/progmodes/perl-mode.el')
-rw-r--r--lisp/progmodes/perl-mode.el1
1 files changed, 1 insertions, 0 deletions
diff --git a/lisp/progmodes/perl-mode.el b/lisp/progmodes/perl-mode.el
index 67a439da655..0ea19973ce1 100644
--- a/lisp/progmodes/perl-mode.el
+++ b/lisp/progmodes/perl-mode.el
@@ -516,6 +516,7 @@ Returns (parse-state) if line starts inside a string."
;; line is expression, not statement:
;; indent to just after the surrounding open.
(goto-char (1+ containing-sexp))
+ (skip-chars-forward " \t")
(current-column))
(t
;; Statement level. Is it a continuation or a new statement?