diff options
-rw-r--r-- | lisp/progmodes/perl-mode.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/progmodes/perl-mode.el b/lisp/progmodes/perl-mode.el index 8d39251bdf8..ac2c260ad0b 100644 --- a/lisp/progmodes/perl-mode.el +++ b/lisp/progmodes/perl-mode.el @@ -248,7 +248,7 @@ Turning on Perl mode runs the normal hook `perl-mode-hook'." (make-local-variable 'comment-indent-function) (setq comment-indent-function 'perl-comment-indent) (make-local-variable 'parse-sexp-ignore-comments) - (setq parse-sexp-ignore-comments nil) + (setq parse-sexp-ignore-comments t) (run-hooks 'perl-mode-hook)) ;; This is used by indent-for-comment |