aboutsummaryrefslogtreecommitdiffstats
path: root/lisp
diff options
context:
space:
mode:
authorRichard M. Stallman1997-04-08 01:18:14 +0000
committerRichard M. Stallman1997-04-08 01:18:14 +0000
commitb8668259e25917dda5d17b85ca9c3640433e59db (patch)
treef70580015e2532c3034632f83665fd9921f3c9e0 /lisp
parent6b2e9efd125eb597ffadf49980618f78f4fc0570 (diff)
downloademacs-b8668259e25917dda5d17b85ca9c3640433e59db.tar.gz
emacs-b8668259e25917dda5d17b85ca9c3640433e59db.zip
(calculate-perl-indent): When indenting under a
containing openparen, skip spaces after the openparen.
Diffstat (limited to 'lisp')
-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."
516 ;; line is expression, not statement: 516 ;; line is expression, not statement:
517 ;; indent to just after the surrounding open. 517 ;; indent to just after the surrounding open.
518 (goto-char (1+ containing-sexp)) 518 (goto-char (1+ containing-sexp))
519 (skip-chars-forward " \t")
519 (current-column)) 520 (current-column))
520 (t 521 (t
521 ;; Statement level. Is it a continuation or a new statement? 522 ;; Statement level. Is it a continuation or a new statement?