;; add the perl-brace-imaginary-offset.
(progn (skip-chars-backward " \t")
(if (bolp) 0 perl-brace-imaginary-offset))
- ;; If the openbrace is preceded by a parenthesized exp,
- ;; move to the beginning of that;
- ;; possibly a different line
- (progn
- (if (eq (preceding-char) ?\))
- (forward-sexp -1))
- ;; Get initial indentation of the line we are on.
- (current-indentation)))))))))
+ (perl-indent-new-calculate 'virtual))))))))
(defun perl-backward-to-noncomment ()
"Move point backward to after the first non-white-space, skipping comments."
return 0;
}
+find ({ wanted => sub {
+ return;
+ }, follow => 1 }, '/tmp');
+
# qw(...) is a quoted list of words, so we can and should indent its content!
my @tutu = qw[
tata