+2014-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
+
+ * progmodes/perl-mode.el (perl-calculate-indent): Don't auto-indent in
+ here-documents (bug#17262).
+
2014-04-16 Eli Zaretskii <eliz@gnu.org>
- * term/pc-win.el (x-list-fonts, x-get-selection-value): Provide
- doc strings, as required by snarf-documentation.
+ * term/pc-win.el (x-list-fonts, x-get-selection-value):
+ Provide doc strings, as required by snarf-documentation.
2014-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
;; following_quotep minimum_paren-depth_this_scan)
;; Parsing stops if depth in parentheses becomes equal to third arg.
(setq containing-sexp (nth 1 state)))
- (cond ((nth 3 state) 'noindent) ; In a quoted string?
+ (cond
+ ;; Don't auto-indent in a quoted string or a here-document.
+ ((or (nth 3 state) (eq 2 (nth 7 state))) 'noindent)
((null containing-sexp) ; Line is at top level.
(skip-chars-forward " \t\f")
(if (memq (following-char)