From 5fa275977e46b64c6336523696558049a8a7157d Mon Sep 17 00:00:00 2001 From: Michael Orlitzky Date: Fri, 20 Aug 2010 18:42:43 -0400 Subject: [PATCH] Fix a setq within an if statement. --- nagios-mode.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/nagios-mode.el b/nagios-mode.el index 61cf412..33a5742 100644 --- a/nagios-mode.el +++ b/nagios-mode.el @@ -158,12 +158,12 @@ (defun nagios-calculate-indent() "Calculate the level of indentation." - ;; We're either inside a block, or we aren't. + ;; We're either inside a block, or we aren't. ;; Initialize the indent variable to either nagios-indent-level ;; or 0 depending on whether or not we're in a block. (let ((indent (if (nagios-in-block) - (setq indent nagios-indent-level) + nagios-indent-level 0) ) ) -- 2.44.2