From 0b4862789b89ae5fef345cefee66293728884342 Mon Sep 17 00:00:00 2001 From: Stefan Monnier Date: Wed, 31 Oct 2001 02:42:09 +0000 Subject: [PATCH] (perl-indent-line): Use `eq' to compare output of `char-after'. --- lisp/progmodes/perl-mode.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lisp/progmodes/perl-mode.el b/lisp/progmodes/perl-mode.el index 33ff6364390..27e3ccea2b8 100644 --- a/lisp/progmodes/perl-mode.el +++ b/lisp/progmodes/perl-mode.el @@ -475,7 +475,7 @@ changed by, or (parse-state) if line starts in a quoted string." (beginning-of-line) (setq beg (point)) (setq shift-amt - (cond ((= (char-after bof) ?=) 0) + (cond ((eq (char-after bof) ?=) 0) ((listp (setq indent (perl-calculate-indent bof))) indent) ((looking-at (or nochange perl-nochange)) 0) (t -- 2.39.2